Re: Update problem
От | Gerd Terlutter |
---|---|
Тема | Re: Update problem |
Дата | |
Msg-id | 3F44BAE5.1080605@MplusB.de обсуждение исходный текст |
Ответ на | Re: Update problem (Ângelo Marcos Rigo <angelo_rigo@yahoo.com.br>) |
Ответы |
Re: Update problem
|
Список | pgsql-php |
pg_scape_string() ? better pg_escape_string() ? Ângelo Marcos Rigo wrote: > Hi !! > > I do this: > > $titulo = pg_scape_string($_POST['titulo']); > $resumo = pg_scape_string($_POST['resumo']); > $texto = pg_scape_string($_POST['texto']); > > but it do not work is it correct? >>>do a clean up with: >>>$texto = pg_scape_string($_POST['texto']); >>Not sure, I'm just guessing. Anytime you want to >>put text into the >>database you need to pg_escape_string($field) each -- -------------------------------------------------------- # Gerd Terlutter | Mueller+Blanck Software GmbH # # gerd@MplusB.de | Gutenbergring 38 # # gerd.terlutter@web.de | D-22848 Noderstedt # # tel:0171/6992579 | tel:+49 40 500 171-1 # # Buero:040/500171-17 | fax:+49 40 500 171-71 # --------------------------------------------------------
В списке pgsql-php по дате отправления: