need apostrophe solution

From: Date: Fri, 14 Feb 2003 20:30:57 +0000
Subject: need apostrophe solution
Groups: php.general 
Request: Send a blank email to php-general+get-135599@lists.php.net to get a copy of this message
i need to escape all my apostrophes in values submitted to a mySQL database. i know how to do the string replace, but is there a way i can loop thru all the post variables and replace the apostrophes? if so, do i need to refer to my variables like "$_POST[$variable]" instead of simply "$variable" (like i have currently) for it to work? any help would be greatly appreciated... -Doug

« previous php.general (#135599) next »