Re: problem with php
| From: | Gabor Hojtsy | Date: | Mon, 07 Oct 2002 08:35:27 +0000 |
| Subject: | Re: problem with php | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-12945@lists.php.net to get a copy of this message | ||
Sorry, but this email address is not the appropriate forum for asking
support questions. For a list of more appropriate places to
ask for help using PHP, please visit http://php.net/support
Thank you for your interest in PHP.
Goba [one webmaster@php.net]
----- Original Message -----
From: Claudio Favola MEC
To: webmaster@php.net
Sent: Friday, October 04, 2002 5:49 PM
Subject: problem with php
HI, i'm a php developer and I've a question for you!
Do you know why i read a accent field's value of Oracle's Table it is without accent???
ex:
I read this word from Oracle : "cioè"
i read this on PHP pages: "cioe"
this is the code i've wrote
$connOracle = OCILogon($UtenteOracle,$PassOracle,$DBOracle);
$sql="select mec.tblservizio2001.* ,TO_CHAR(oraultimaoperazione,'dd/mm/yyyy
HH24.MI.SS') as DATATESTO from MEC.TBLSERVIZIO2001 where rownum<=$NumRecord order by
OraUltimaOperazione";
$loRsRitagliOracle= ociparse($connOracle,$sql);
ociexecute($loRsRitagliOracle,OCI_DEFAULT);
while (ocifetch($loRsRitagliOracle))
{
echo ociresult($loRsRitagliOracle,"TITOLOARTICOLO")."<br>";
echo ord(ociresult($loRsRitagliOracle,"TITOLOARTICOLO"))."<br>";
echo ord("è")."<br>";
$Titolo=ociresult($loRsRitagliOracle,"TITOLOARTICOLO");
echo $Titolo."<br>";
}
thanks for help
Claudio Favola.