Replace of ' in a query

From: Date: Tue, 17 Feb 2004 19:44:44 +0000
Subject: Replace of ' in a query
Groups: php.general php.windows 
Request: Send a blank email to php-general+get-178011@lists.php.net to get a copy of this message
Hi , i have the following problem, i have a form where a user can input any text, on that text may be a char is ' char(39) when i try to execute the sql query, i have an error for that ', i need to replace it for the html tag, for example " is " or by chr(39) i dont know, and then execute the sql query. i really appreciate your help, thanks. Carlos A. Castillo. Ingeniero de desarrollo ccastillo@imagine.com.co ____________________________________ Su Aliado Efectivo en Internet www.imagine.com.co (57 1)2182064 - (57 1)6163218 Bogotá - Colombia ____________________________________ - Soluciones web para Internet e Intranet - Soluciones para redes - Licenciamiento de Software - Asesoría y Soporte Técnico ____________________________________

« previous php.general (#178011) next »