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? Link to comment https://forums.phpfreaks.com/topic/109925-retrieving-data-containing/ Share on other sites More sharing options...
fenway Posted June 12, 2008 Share Posted June 12, 2008 No, this is a php quoting issue. Link to comment https://forums.phpfreaks.com/topic/109925-retrieving-data-containing/#findComment-564120 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.