PHP ver gevorderde |
|
<?php //highlighten
doquery("UPDATE {{table}} SET balls=balls-$newballs WHERE id=".$userrow["id"], "users");
<?php //highlighten doquery("UPDATE {{table}} SET balls=balls-$newballs WHERE id=".$userrow["id"], "users");
moet worden
<?php //highlighten
doquery("UPDATE {{table}} SET balls=balls-$newballs WHERE id=".$userrow["id"].", "users");
<?php //highlighten doquery("UPDATE {{table}} SET balls=balls-$newballs WHERE id=".$userrow["id"].", "users");
en dat moet je ook in je 2de query doen.
|