if (!$link)
 {die('Could not connect: ' . mysql_error());
 }mysql_select_db('mydb');/* Update records */
 mysql_query("UPDATE mytable SET used=1 WHERE id < 10");
 printf ("Updated records: %d\n", mysql_affected_rows());
 mysql_query("COMMIT");
?>
bidvertiser
Wednesday, October 22, 2008
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment