suzie Posted September 13, 2011 Share Posted September 13, 2011 Dear friends, if a string contains double quote ", when retreiving it from the database using php it appears " please any help to appear ".. Link to comment Share on other sites More sharing options...
Ingolme Posted September 13, 2011 Share Posted September 13, 2011 That can only happen if you used htmlspecialchars() before putting the string into the database. Link to comment Share on other sites More sharing options...
suzie Posted September 13, 2011 Author Share Posted September 13, 2011 am not using htmlspecialchars(),but in the table it appears as ", now if i want to retreive it to the site I want it to appear as " how it can be done... Link to comment Share on other sites More sharing options...
JamesB Posted September 13, 2011 Share Posted September 13, 2011 htmlspecialchars_decode() will turn html entities back into characters, although i think it would be better to store the data as plain text in the database. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.