PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?php
echo "$win1, $win2, $los1, $los2, $gametype";
mysql_query("UPDATE games_rep SET type='$gametype' WHERE ID='$pastevar'");
?>
it echo's the correct values, but it doesnt update ! when I replace the variables in the update by numbers, it works. For some reason it wont read the variables !
I tried removing the ' ' and it didnt change anything !
Help someone !
thx
Flamie