pie
03-08-2004, 10:18 AM
$sql = "SELECT count(*) FROM uploadimages";
$sql2 = mysql_query($sql);
$id2 = mysql_result($sql2);
$id = $id2 + 1;
-----
This is not for mysql... though there is a mysql_query later using auto_increment.
^^ As i said though its for variable
$sql2 = mysql_query($sql);
$id2 = mysql_result($sql2);
$id = $id2 + 1;
-----
This is not for mysql... though there is a mysql_query later using auto_increment.
^^ As i said though its for variable