Note Submitter: dizyn at hotmail dot com
----
I tired with stored procedures and it did not worked out.
here is what i tried:
$mysqli = connection1();
$mysqli->autocommit(FALSE);
$user = "call insert_user('hello',
'mypass','myemail')";
$mysqli->query($user);
printf ("New Record has id %d.n",
$mysqli->insert_id);
$mysqli->commit();
exit;
Output:
New Record has id 0.
which is not correct, may be problem is with stored
procedures.
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|