For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > April 2007 > form text é->éé in MySQL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author form text é->éé in MySQL
NRJ

2007-04-03, 7:02 pm

Hi,

I've got a form with textbox (Description) in it. Whenever I want to
insert a word with the character =E9 it will result as =C3=A9=C3=A9 in my M=
ySQL
table when I look in the phpadmin.

The code is like:
$Description =3D $_REQUEST["Description"];

$result =3D mysql_query("Insert into Sites (SiteDescription) Values
('" . $Description . "') ",$link);
if (!$result) {
echo "no results" ;
} else {
echo $result . "Added<br><br>";
}


Please advice...

Thanks
Niels

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com