max101 Posted February 23, 2010 Share Posted February 23, 2010 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}"; Quote Link to comment https://forums.phpfreaks.com/topic/193122-how-to-keep-slashes-in-mysql-update/ Share on other sites More sharing options...
max101 Posted February 23, 2010 Author Share Posted February 23, 2010 Quick version: Look for another way. I wrote a relationship function to merge tables. Quote Link to comment https://forums.phpfreaks.com/topic/193122-how-to-keep-slashes-in-mysql-update/#findComment-1017090 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.