kate_rose Posted June 12, 2008 Share Posted June 12, 2008 Hi I am trying to retrieve data from a mysql database & there are '\' in the data because they correspond to an image location on the computer (i.e. 'myfolder\myimage') I tried replacing all the '\' with '\\' in the db but I am getting the same error which is Warning: Unexpected character in input: '\' (ASCII=92) state=1 in C:\wamp\www\Guana_Plant_Key\test.php on line 28 Is it the '\'s in the db causing the problem or do I have some other coding error? Quote Link to comment Share on other sites More sharing options...
fenway Posted June 12, 2008 Share Posted June 12, 2008 No, this is a php quoting issue. Quote Link to comment 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.