List Info

Thread: mysql initialize




mysql initialize
user name
2006-07-30 04:53:30
bernardo wrote:

> class AppModel extends Model {
> 	function __construct() {
> 		parent::__construct();
> 		if(!defined('GLOBAL_UTF8')) {
> 			$this->query('SET NAMES "utf8"');
> 			define('GLOBAL_UTF8', TRUE);
> 		}
> 	}
> }
I'm sorry, I think that the lines with __construct need to
be changed
to:

	function __construct($id = false, $table = null, $ds =
null) {
		parent::__construct($id, $table, $ds);


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Cake PHP" group.
To post to this group, send email to cake-phpgooglegroups.com
To unsubscribe from this group, send email to
cake-php-unsubscribegooglegroups.com
For more options, visit this group at http://groups
.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

mysql initialize
user name
2006-07-30 06:57:14
thanku guys the last one works for me but still it cant show
my RTL
font properly, plz help me tru


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Cake PHP" group.
To post to this group, send email to cake-phpgooglegroups.com
To unsubscribe from this group, send email to
cake-php-unsubscribegooglegroups.com
For more options, visit this group at http://groups
.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

mysql initialize
user name
2006-07-30 17:45:50
Have you tried adding dir="rtl" to your html or
body tags?

For more info:
http://ppewww.ph.gla.ac.uk/~flavell/charset/text-
direction.html

HTH,
Ryan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Cake PHP" group.
To post to this group, send email to cake-phpgooglegroups.com
To unsubscribe from this group, send email to
cake-php-unsubscribegooglegroups.com
For more options, visit this group at http://groups
.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )