"; } mysql_select_db("qiushicount"); $ccount = mysql_query("SELECT count FROM simplecount WHERE count_id=1") or die(mysql_error()); $currentcount = mysql_fetch_row($ccount); $newccount = ($currentcount[0] +1); $updateccount = mysql_query("UPDATE simplecount SET count='$newccount' WHERE count_id=1"); if(session_register("counted", "newccount")){ //echo "registered variable:counted, newccount"; } } ?>
|
||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
![]() ![]() |
||||||||||||||||||||||||||||||||||