Re: [PHP-DB] viewing search result

2004-01-06 Thread Hadi
Hi, Iam new in this , can you tell me how to make the pager.php works? I can't use it... Best Regards, Hadi Tjen "Bossek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > you can use PEAR DB::Pager > http://pear.php.net/package/DB_Pager > > "

[PHP-DB] viewing search result

2004-01-05 Thread Hadi
rk while ($data=mysql_fetch_array($result)) { echo (" $data[colom1] $data[colom2] $data[colom3] "); Best Regards, Hadi Tjen -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Problem with INSERT Query

2003-12-30 Thread Hadi
]. " "; > } > $result = $db-> query($sql); > > ?> > > > > while($selected_tutor_name == $tutor_name) > echo $_POST["tutor_name"]; > How about if ($tutor_name ){ echo $_POS

[PHP-DB] password---simple questions but...

2003-12-23 Thread Hadi
; : >select * from tablepassword where password=password('def'); display empty set, how to solve this? Thanks in advance. Merry Christmas and Happy New Year Hadi Tjen -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] anyone trickier than 'LIKE' ?

2003-12-12 Thread Hadi
Hi all, I have this data (eg.) "..big fat buddy..." on the database . If a person enter "big buddy" in the search form , the "...big fat buddy." data will not be found . Any suggestion ? Thanks in advance. select * from table where data like "%keywords%"; -- PHP Database

[PHP-DB] help newbie

2003-12-08 Thread Hadi
Hi , please help this newbie , how to make my database view from [1] [2] [3] [4] [5] [6] [7] [8] to <<< 1 2 34 >>> Thanks very much Hadi require("cobaconfig.php"); > > $numresult = mysql_query("select * from dataiklanbaris order b

[PHP-DB] Hi all, how the sript to view like...

2003-11-30 Thread Hadi
I have my database page look like this: [1][2] [3] [4] [5] [6] the problem is when I have my database growing it will be not nice to look at because the number will keep growing, how to make it like this : <<< 1234>>> Thanks for the help