include "signup/mysql.inc"; $sql="select * from ".$table." where id='$id'"; $result=mysql_query($sql)or die(mysql_error()); $row=mysql_fetch_array($result); $number=++$row["number"];
$sql="update $table set number='$number' where id='$id'"; mysql_query($sql)or die(mysql_error());