ASP Javascript (Dreamweaver) insert and retreive Primary Key
--------------------------------------------------------------------------------
Been pulling my hair out all week.
I am working on a registration database, and need to get the last primary key allocated to a insert within the MySQL database. I am trying to use the LAST_INSERT_ID( ) function to return the value to a session variable.
if (!MM_abortEdit)...
User Profile
Collapse
-
ASP Javascript (Dreamweaver) insert and retreive Primary Key
Been pulling my hair out all week.
I am working on a registration database, and need to get the last primary key allocated to a insert within the MySQL database. I am trying to use the LAST_INSERT_ID( ) function to return the value to a session variable.
if (!MM_abortEdit)
{
// execute the insert
var Data, mWedding_ID;
Session("iWeddi ng_ID") = -4;
var MM_editCmd = Server.CreateOb ject('ADODB.Com mand');...
No activity results to display
Show More