[PHP-DB] class of objects created by mysqli_result-fetch_object

2006-02-04 Thread Stefan Reimers
Hi, I fetched some data from my MySQL database into objects. These are of class stdClass. Now I wonder about the sense of having objects without methods defined. In fact, I cannot benefit from any of the OO advantages (namely property protection, controlled method calls on class properties)

[PHP-DB] screen resolution!

2006-02-04 Thread JeRRy
Hi, I have written a website in PHP using MYSQL. But I have come accross an un-common problem. Normally when I create a website it's done on a desktop PC. But this time for the first time I did it on laptop meaning the screen resolution is different. Is there any sort of

[PHP-DB] Re: screen resolution!

2006-02-04 Thread Jan Pieper
PHP donĀ“t know how whats your resolution is. You need Javascript. screen.width, screen.height Jan Pieper Hi, I have written a website in PHP using MYSQL. But I have come accross an un-common problem. Normally when I create a website it's done on a desktop PC. But this time for the

RE: [PHP-DB] screen resolution!

2006-02-04 Thread Bastien Koert
As the other poster mentioned you need JS to detect the screen widththe usual approach is to use js to detect the screen res and the include the appropriate CSS file to match the screen res. Bastien From: JeRRy [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] screen