Jump to content

[SOLVED] How Can I Do This?...


Vermillion

Recommended Posts

Woops one thing. If I wanted to update the database with multiple different values, would I do something like this:

 

"UPDATE members SET question = '$newquestion'" AND SET answer = '$answer' WHERE id = "$id" AND hash = '$hash'"

 

? Or can I only do:

 

"UPDATE members SET question = '$newquestion'" SET answer = '$answer' WHERE id = "$id" AND hash = '$hash'

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.