Hey.
I picked up php a couple of days ago and im experimenting with it.
stumbled onto your forum while looking for a solution to this:
$nick = $_POST["nick"];
$charname = $_POST["newchar"];
$realm = $_POST["realm"];
$realmtablename = $realm."_characters";
$checkcharacter = mysql_query("SELECT character FROM $realmtablename WHERE character='$charname'") or die mysql_error();
throws the above error (Parse error: syntax error, unexpected T_STRING) on the last line,
I cant seem to figure out what wrong, I have tried playing about with the order of things, but with little success.
If anyone could take a quick look and tell me what's gone wrong id really appreciate it, thanks!