Jump to content

Confirming record creation...


RIRedinPA

Recommended Posts

does mysql return anything to confirm a new record was created?

 

For example:

 

$query = INSERT INTO testdb VALUES('1', '2', '3');

$result = mysql_query($query) or die ("Could not make record.\n\n" . mysql_error() . "\n\n" . $query);

 

if ($result) {

//do something

}

 

duh...isset...brain fart, it's 3:00P...brain is slowly shriveling... :D

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.