save LAST_INSERT_ID to variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux