Re: Saving non-english text into database problem !!

From: Date: Thu, 07 Oct 2004 00:57:34 +0000
Subject: Re: Saving non-english text into database problem !!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-198788@lists.php.net to get a copy of this message
the variables I'm using are sent correctly from the html form to the page contains the insertion script .. and both of these pages has the same encoding "Dre" <dre00x@yahoo.com> wrote in message news:20041006175615.75643.qmail@pb1.pair.com... > Hi > > I have a strange problem that I can not figure out how to solve .. > > I'm trying to save some data into a regular mySQL database table by using a > normal php > insertion script but I'm trying to save "Arabic Text" and here comes the > problem .. > > When I'm performing the insertion by writing the actual text directly into > the insert SQL statement > the insertion performed well, and I can view the data again correctly. > > But when I'm performing the insertion by passing variables to the insertion > SQL statement, the text > does not get saved correctly and when I try to view the saved data I see > garbage instead. > > > (I was using the same table for both cases) > > Thanks in advance

« previous php.general (#198788) next »