dmc
08-15-2004, 08:42 PM
ok, so i dont really konw about how to make a web browswer work with mysql.. so hopefully someone can answer some basic questions for me...
so how do i update a variable throught php...
i have the line.. update countera set counter = counter +1; that generates an error of Parse error: parse error, unexpected T_STRING..
so how do i increment the variable .. i actually wanted it to be incremented each time the page is loaded. like a basic counter...
also my select statemnt of the variable.. is mysql_query(SELECT counter FROM countera) adn that produces the following results..
resource id#3 (no errors) how do i get the value of it to show up.
sorry im pretty new to it.. if anyone can point me to some good internet resources or recommend any books that would be apprectiated..
thanks alot.
so how do i update a variable throught php...
i have the line.. update countera set counter = counter +1; that generates an error of Parse error: parse error, unexpected T_STRING..
so how do i increment the variable .. i actually wanted it to be incremented each time the page is loaded. like a basic counter...
also my select statemnt of the variable.. is mysql_query(SELECT counter FROM countera) adn that produces the following results..
resource id#3 (no errors) how do i get the value of it to show up.
sorry im pretty new to it.. if anyone can point me to some good internet resources or recommend any books that would be apprectiated..
thanks alot.