save LAST_INSERT_ID to variable
| From: | gordonisnz at gmail dot com | Date: | Sun, 02 Jan 2022 11:19:13 +0000 |
| Subject: | save LAST_INSERT_ID to variable | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-327870@lists.php.net to get a copy of this message | ||
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.