Jump to content

tivrfoa

Members
  • Posts

    79
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tivrfoa's Achievements

Member

Member (2/5)

0

Reputation

  1. hmmm it should be: Jos? In edited: it's not displaying correctly here too trying ... & eacute & circ José Inês
  2. Hi, I changed everything to utf8_bin: MySQL connection collation, database, table and column. http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html And then I run in phpMyAdmin: set names 'utf8'; update clientes set nome = 'Jos? In?s'; And the problem remains. Only display correctly at phpMyAdmin. I also tested header('Content-type: text/html; charset=utf-8'); but didn't work. http://www.w3.org/International/O-HTTP-charset.en.php For display these data correctly I would need to use utf8_encode everywhere (ouch!!!). It's interesting the number of comments that the page about utf8_encode has: http://php.net/manual/en/function.utf8-encode.php I'll read more, but meanwhile I'll fill the tables using PHP script and not phpMyAdmin. Regards, Leandro.
  3. Hi, The problem occurs when the data is inserted using phpMyAdmin. This function is not necessary in my script. And this function is not recommended to change the charset. -> http://php.net/manual/en/function.mysql-set-charset.php Thank you.
  4. Hi, So ... when I insert the data through the phpMyAdmin page, it displays correctly in phpMyAdmin but not on the page (where matters). I created a web form to fill the table from there, and then the data displays incorrectly in phpMyAdmin, but correctly in the page! Well. Problem solved I guess. One thing that I'll test is if the collate and character set matters (I changed from utf8 to latin1), or the problem was because I inserted directly using phpMyAdmin. Regards, Leandro.
  5. Hi, I'm using PHP and MySQL. It's working fine at my PC (localhost), but it's not on my web hosting. Cordão -> should be Cord?o It's displaying Cord?o at phpMyAdmin. So I checked the collate and character set to see if it's different. They were, so I changed: alter DATABASE db_name CHARACTER SET latin1 COLLATE latin1_swedish_ci; alter table table_name CHARACTER SET latin1 COLLATE latin1_swedish_ci; But this didn't resolved the problem. :'( What else might be the problem? I don't think it's <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> because it's all working fine at my notebook. Regards, Leandro.
  6. Hi, The links for PHP Help, MySQL Help, ... at the home page are broken. (right side menu) eg: Should be: http://forums.phpfreaks.com/index.php?board=3.0 Instead of: http://www.phpfreaks.com/forums/index.php/board,3.0.html Regards, Leandro.
  7. Don't do this way. oO Use session: http://www.tizag.com/phpT/phpsessions.php http://www.google.com/search?q=php+session
  8. I would use AJAX. But the simple way, you can use header("Location: yourpage.php"); or you can use JavaScript: window.location.href = "yourpage.php";
  9. I studying the Zend Framework guide -> http://framework.zend.com/docs/quickstart/ I accessing the pages using http://localhost/quickstart/public/index.php/guestbook/index quickstart is the name of the project. So, I think I missed something, because shouldn't I access the pages with the URL: http://localhost/quickstart/guestbook/index ??? thank you
  10. foreign key is used to reference columns in other tables, not in the same. do you want that 'thread_parent' be auto_increment too? if yes, then you don't need this column, because it would have the same value as the 'post_id' column. explain what do you want.
  11. hehe =) I think the doubt here is related with the other topic he created, so this topic can be deleted. Oo
  12. MySQL Coding Help xD use this comand for the tables you're having trouble and post here: show create table table_name;
  13. create table videos ( page_id int primary key, video varchar(30) not null );
  14. connect.php Oo php.ini has a property called "session.gc_maxlifetime" but I'm not sure if this do the job.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.