php-db | 2000121
Date: 12/06/00
- Next message: Daniel Rezny: "Re: [PHP-DB] Problem - Insert data into mysql"
- Previous message: Alexey Borzov: "Re: [PHP-DB] auto incrementing rows from query.."
- Next in thread: Daniel Rezny: "Re: [PHP-DB] Problem - Insert data into mysql"
- Reply: Daniel Rezny: "Re: [PHP-DB] Problem - Insert data into mysql"
- Reply: Scott: "Re: [PHP-DB] Problem - Insert data into mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi ; )
I'm facing a problem when I input/enter a sentence with special character
like '.
Examples : -
$test1 = "We're going to town
est2 = "We are going to town
My HTML form tag.
<textarea name="test' rows="5" cols="40"></textarea>
My PHP $sql statement like below:-
$sql = "INSERT INTO
demo(id,name,info)
values('$id','$name','$test1')";
I can't insert data $test1 into mysql database, but data $test2 is NO
PROBLEM.
Could anybody help me !!!!!
Any help would be apreciate.
Kind regards,
Hee.
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Daniel Rezny: "Re: [PHP-DB] Problem - Insert data into mysql"
- Previous message: Alexey Borzov: "Re: [PHP-DB] auto incrementing rows from query.."
- Next in thread: Daniel Rezny: "Re: [PHP-DB] Problem - Insert data into mysql"
- Reply: Daniel Rezny: "Re: [PHP-DB] Problem - Insert data into mysql"
- Reply: Scott: "Re: [PHP-DB] Problem - Insert data into mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

