there is a strange thing about mysql...or at least for me
on my own db, I saw that when i use addslashes, it makes eg "it's": "it\\\'s"
I thought I did something wrong, but couldn't find a thing, so I left it like that...
now, we have a phpbb forum on f2s, wich sucked so hard (alwasy down) that we decided to move it to another forum.
when moving sql data, all went well, exept the posts, he gave this error:thining of my own database, I said: try replacing the \' with \\\' and magicly it worked!!MySQL said: You have an error in your SQL syntax near 's a (computer guided) spanish armada ship wich is stronger then yours etc due to' at line 1
now why does '\ works on f2s and not on other servers??






Bookmarks