Re: [PHP-DB] array fill/sort question

2003-06-10 Thread Kieu D. Trang
hi, you can add the ip2long() function into your SELECT statement and have an ORDER BY clause at the end like this... SELECT s_id, subnet_name, ip2long('subnetaddr'), subnetmask,dnsdomain, location, contact, ccn FROM subnets ORDER BY subnetaddrr; hope it helps. KD On Tue, 10 Jun 2003,

[PHP-DB] ideas for Affiliate Program.....

2003-06-24 Thread Kieu D. Trang
Hello all, I am working on an Affiliate Program and need ideas or suggestions... please email me if you have any suggestion for now my program will keep track of an affiliate_id and the client_ip address for future reward... (i.e if the client buys anything, the affiliate_id gets a

Re: [PHP-DB] ideas for Affiliate Program.....

2003-06-24 Thread Kieu D. Trang
, mike karthauser wrote: on 24/6/03 4:59 pm, Kieu D. Trang at [EMAIL PROTECTED] wrote: Have anyone ever done anything similar and have other suggestions? I am working on it, but is still looking for better ways of doing it... thanks in advance.. You want to look on sourceforge

Re: [PHP-DB] mysql_fetch_array issues.

2003-07-09 Thread Kieu D. Trang
this error only means that your msql_query($result) was correct, but did not have any result... meaning, there was nothing to select, there for there is nothing to fetch... hence you can not do a msql_fetch_array() on an empty result set. KD On Wed, 9 Jul 2003, Greg Hetrick wrote: Yup, I

Re: [PHP-DB] weird php error

2003-08-29 Thread Kieu D. Trang
try if (isset($_GET['login']) AND $_GET['login'] == 'forgot') KD On Fri, 29 Aug 2003, Tiberiu Ardeleanu wrote: Try: if ($_GET['login'] == 'forgot') - Original Message - From: OpenSource [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 29, 2003 7:38 AM Subject: