MySQL Forums
Forum List  »  PHP

can not get slashes in data
Posted by: Michael Piaser
Date: August 24, 2016 08:02AM

I have a MySQL table with a column which contains a file path. When I issue a SELECT query from Workbench, the data looks good. I see the slashes in the path.

But when PHP issue the SELECT query, the slashes are not returned. The PHP is not doing any special functions to remove slashes.

Even stranger is that this works fine on our production server. It just doesn't work on my local test system. Makes me think that there is a configuration option somewhere that is different. I've compared the PHP.INI settings for "magic quotes" and they are the same.

Any ideas?

Options: ReplyQuote


Subject
Written By
Posted
can not get slashes in data
August 24, 2016 08:02AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.