Re: save LAST_INSERT_ID to variable

[email protected]
Newsgroups php.general
Message-ID <CACOt7mGt7an2VVxzaH_xoRnzz2HPnK6tRtDBOp8xU-2QKeodCw@mail.gmail.com>
thank you AllenJB for the assistance / guidance

On Mon, Jan 3, 2022 at 12:19 AM <[email protected]> wrote:
>
> I'm researching the LAST_INSERT_ID command for MYSQL.
>
> from what i have seen - I can save it as a 'variable' as @variable =
> LAST_INSERT_ID();
>
> Question: What is the difference between @THIS_VARIABLE and
> $that_variable (with a dollar $ sign)??
>
> I cannot find ANY examples/tutorials that say we can save it as a  $variable.
>
> --
>
> Gordon.



-- 

Gordon.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.