RE: [PHP-DB] Re: paginating : optimising queries

2005-03-22 Thread Hatem
Fetching 10 rows is much faster than 1000 ! Fourat your code is optimized just keep it as it :) just keep your code away from adodb, pear db, and such abstraction if you want speed ! you don't need to talk about optimisation with 2 queries. Regards, Hatem --- "Patel, Aman" &l

Re: [PHP-DB] small database

2002-11-12 Thread Hatem Ben
Check the PHP-DB archives ;-) http://news.php.net/article.php?group=php.db&article=22433 Hatem - Original Message - From: "Rich Hutchins" <[EMAIL PROTECTED]> To: "Seabird" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, November 13,

Re: [PHP-DB] images [Oops]

2002-10-15 Thread Hatem Ben
Oops sorry for never testing before sending :P the script works fine but there is a little change, there is a hiddent should be changed to hidden in the form ;) that's all, enjoy - Original Message - From: "Hatem Ben" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: [PHP-DB] images

2002-10-15 Thread Hatem Ben
#x27;)"; $result = mysql_query( $query ) or die("Query failed"); echo "Hope this will help ;)"; } ?> Regards, Hatem - Original Message - From: "Edward Peloke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 15, 2002

Re: [PHP-DB] Some data manipulation

2002-10-06 Thread Hatem Ben
i was trying to do it with preg_replace, but this is much better thanks a lot, Hatem - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Hatem Ben" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, October 06, 2002 3

Re: [PHP-DB] $_POST And $_REQUEST

2002-10-05 Thread Hatem Ben
$_REQUEST is an associative array consisting of the contents of $_GET, $_POST, $_COOKIE, and $_FILES http://www.php.net/manual/en/reserved.variables.php - Original Message - From: "Shoulder to Shoulder Farm" <[EMAIL PROTECTED]> To: "PHP Database List" <[EMAIL PROTECTED]> Sent: Sunday, O

[PHP-DB] Some data manipulation

2002-10-05 Thread Hatem Ben
string the last value when it is equal to 1,2 or 3 ex :: [0] => 2-won't be changed [0] => 2- [1] => 8b2 will be changed to [1] => 8b6 [2] => 8#c3 will be changed to[2] => 8#c7 [6] => 8a1 will be ch

Re: [PHP-DB] PhpHoo_create database phpHoo\p\g

2002-10-01 Thread Hatem Ben
Just remove and create ure database without \p\g , it will be faster ;-) Hatem - Original Message - From: "Russell Griechen" <[EMAIL PROTECTED]> To: "Php-Db" <[EMAIL PROTECTED]> Sent: Wednesday, October 02, 2002 1:50 AM Subject: [PHP-DB] PhpHoo_crea

Re: [PHP-DB] Very cool -= Code Generator =- !!!

2002-09-29 Thread Hatem Ben
a php/mysql already exist : http://www.bigprof.com/appgini/ - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "'johnny1b1g'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, September 29, 2002 4:19 PM Subject: RE: [PHP-DB] Very cool -= Code Generator =- !!! > >

Re: [PHP-DB] Very cool -= Code Generator =- !!!

2002-09-29 Thread Hatem Ben
i've check it, and also try it, code generated for a sample database won't run okay, most pages return errors ! if it will support others database, it will be a great tool Best regards, Hatem - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]>

Re: [PHP-DB] Conversion from access to mysql

2002-09-10 Thread Hatem Ben
. Best regards, Hatem - Original Message - From: "Steven Dowd" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 10, 2002 12:54 PM Subject: Re: [PHP-DB] Conversion from access to mysql > also http://www.dbtools.com.br this will work both ways a