$online = "INSERT INTO xtwf_online (uname, place) VALUES ('$user', 'Just logged in' );";
mysql_query( $online );
Why '$user' (string)? and not just $user (variable)? Except if it is some advanced technique I'm not aware of
PS Posted: 19-08-2009, 12:05 AM - There's your problem!
$online = "INSERT INTO xtwf_online (uname, place) VALUES ('" + $user +"', 'Just logged in' );";
mysql_query( $online );
Why '$user' (string)? and not just $user (variable)? Except if it is some advanced technique I'm not aware of![]()
'Just logged in' );";
That ; needs to disappear too.