Update Aint Workin
Posted: Sat Feb 14, 2004 8:35 pm
Right i am making a forum package... and i wanna know why this aint working for...
viewthread.php
My database info is included in another file thats included to that file.. (confusing.. anyway). The table is called df_threads and i want the col views to go up 1 number when people access that page.
viewthread.php
Code: Select all
$result = "UPDATE df_threads SET views=views+1 WHERE id = '$threadid'";