Coly010 Posted January 5, 2014 Share Posted January 5, 2014 The error I'm getting: Catchable fatal error: Object of class mysqli_result could not be converted to string in C:\xampp\htdocs\Chaos-Era\register.php on line 289 I don't understand why I am getting this error because its not to say I'm echoing the query. my line of code is literally: mysqli_query($c, "UPDATE user SET race = $race WHERE userid = $userid"); should i be assigning the query to a variable? Someone lock or delete this please, found the error. my userid variable had an issue Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.