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
New mail user not showing up in GAL.
why can't autocomplete after div is loaded via ajax when autocomplete is in the div box
safely shutdown sharepoint on sbs 2003
couple of things missing from Exchange 2010?
Outlook 2007 hangs while sending large emails (only over HTTPS, not over VPN or while on LAN)
Script to email newly created computers. Need to add groups & users accounts also.
Windows 7 screen saver goes crazy "Bubbles"
Unable to open PDF's in Outlook 2007, ""There was an error opening this document. This file cannot be found."
VB equation is slightly off
jquery Colorbox login form redirect