Thank you Dash, now it's working.
- Original Message -
From: "dash php" <[EMAIL PROTECTED]>
To: "'Waldemar Brand Neto'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 4:27 PM
Subject: RE: [PHP-WIN] add
Put \"'s around the value=$nome like this:
echo "";
-Dash
-Original Message-
From: Waldemar Brand Neto [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 12:29 PM
To: PHP Windows
Subject: [PHP-WIN] addslashes
Hey I'm a newbie and have a question
Hey I'm a newbie and have a question about addslashes.
In the databse the field is complete like: Waldemar Brand Neto, but when I get the
field from it the return is trunved like Waldemar. How cam I fix that? Thank“s.
";
?>
Result : Waldemar and the correct is: Waldemar Brand Neto
dHJ5IGJhc2U2NF9lbmNvZGUoJGJpbmFyeV9kYXRhKS4uLg0KDQpJZ25hdGl1cw0KDQo+IC0tLS0t
T3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFJhbmRhbGwgQmFyYmVyIFttYWlsdG86cmRi
NTVAZW1haWwuYnl1LmVkdV0NCj4gU2VudDogU2F0dXJkYXksIDEwIEZlYnJ1YXJ5IDIwMDEgMTI6
MjMNCj4gVG86IHBocC13aW5kb3dzQGxpc3RzLnBocC5uZXQNCj4gU3ViamVjdDogW1B
A curious man is me.
I have some binary data that I wish to insert into a database, and all examples I have
seen have used:
$to_save = addslashes($binary_data);
This is supposed to escape all the characters that databases don't like.
This function does not always work. Some times it is fin