Jump to content

How to keep slashes in Mysql update


max101

Recommended Posts

Hi All,

I in need of some advice. I am running a update from a form to a specific users unique id the id however is  not a int it has mixed letters and numbers abc/123 with the slash, when I run  the update the slash breaks the code and it cannot update, is there anyway I can keep it in there as I am unable to remove the slash. here is the update code:

WHERE id= {$id}";

Link to comment
https://forums.phpfreaks.com/topic/193122-how-to-keep-slashes-in-mysql-update/
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.