View Single Post
Old 08-28-2004, 12:38 PM  
Anothers
Confirmed User
 
Join Date: Nov 2001
Location: Poland
Posts: 219
try addslashes();


example

<? php

echo "This is correct field value: ".addslashes($_POST["form_field"]);

?>


Edited: there is space between '<?' and 'php' - just remove it to get it work

Edited 2: whe your form method is GET then change $_POST to $_GET

Last edited by Anothers; 08-28-2004 at 12:42 PM..
Anothers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote