Microsoft
Software
Hardware
Network
Question : PHP string replace question
I have very novice php skills and am trying to write an admin page to manage some links that I store in a database (instead of using phpMyAdmin).
I would like to do a little processing when posting as well as retrieving the data to handle the problem of displaying quotes ("). I want to be able to input quotes in the admin and then have them converted to " for storage in the db. And then when the data is retrieved for editing, have it convert " back to ". Is there a really easy way to do this?
Answer : PHP string replace question
http://us.php.net/manual/e
n/function
.htmlentit
ies.php
Super easy: htmlentities($string)
and to convert it back:html_entity_decode($s
tring)
Random Solutions
Unable to access certain domains
Exchange 2010 a circular logging
Restoring a Dell studio 1535 to factory default
why notepad opens in small screen
Web Server - Failover solution
Find GoldMine contacts with a deleted process attached
Connect a VB6 Client App to a remote SQL Server 2005 database using ADO 2.8
how can i uninstall powerHA hacmp fileset from unix aix server
Mitel or Shortel
ASP.Net,C# (Rawprinterhelper spools jobs but not printing)