|
so theres no way of only doing one query??
ie
can you simply do something like
$updatechat = "UPDATE members SET chattext='chattext{$_POST['chattext']}' WHERE user='$username'"
and if it fails, execute
$adduserquery = "INSERT INTO members (username,chattext) VALUES ('$username', '$chattext');
__________________
ICQ: 298-523-037
|