From: "Brock Jimmy D Contr DODHSR5" <[EMAIL PROTECTED]>
> When you want to display this value from the database onto your webpage
use stripslashes
>
> stripslashes($row['q']; // this will remove the backslash that was
inserted from addslashes
You don't need to use stripslashes on the data pulled
In your sample code the value is being truncated because size="2" -- so only 2
characters are being assigned to $_POST['Q']
Addslahses should work...
Based on your example here is how (I changed the size to 50:
And my user enters:2 " copper tubing
$q = addslashes($_POST['Q']; // new valu