Re: Using accentuation or other special characters and printing with php.
Posted by: Henio Sampaio
Date: March 24, 2009 07:30AM

Hello there! Thanks for the answer. Only now I had the chance to come back.
I tried what you said, take a look:

$cone = mysql_connect($bd_host,$bd_user,$bd_pass) or die(mysql_error);
SET NAMES utf8;
mysql_select_db($bd_base,$cone)or die(mysql_error());

but I get the error below:

Parse error: syntax error, unexpected T_STRING in c:\Inetpub\vhosts\passelivreonline.com.br\httpdocs\admin\inc_conexao.php on line 7

Have I done something wrong?



Edited 1 time(s). Last edit at 03/24/2009 07:32AM by Henio Sampaio.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.