Jump to content

MYSQL Error


besly98

Recommended Posts

hi all i am trying to pass a value into an update query in mysql but i cant seem to get it working. whta is the correct syntax for this? the code is below

UPDATE `team` SET $_GET['type'] = '".$_GET['result']."' 

 

(incase you wondering) im passing the correct row name into the GET['type'] as i want that to be dynamic depending on what the user selects)

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/221015-mysql-error/
Share on other sites

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.