Jump to content

Echoed Query didn't Update


Xtremer360

Recommended Posts

So I filled out my edit form and I had it echo the query and it said exactly what it was supposed to but it didn't update it.

 

Here's what the echo query looked like.

 

UPDATE `efed_list_menu_items` SET `content_id`='0', `newscat`='0', `application_id`='1', `itemname`='Testing 3', `itemurl`='testing3.php', `sortorder`='3' WHERE `id` = '3'

Link to comment
https://forums.phpfreaks.com/topic/214849-echoed-query-didnt-update/
Share on other sites

I would guess that the problem is the ` change to straight ones!

 

Backticks, as above, can be used to enclose table/field names in a MySQL query. They are required when the table/field name is also a MySQL reserved word. Single-quotes are used to enclose string values.

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.