Re: [PHP-DB] Skipping a row

2003-12-19 Thread Robby Russell
John Greco wrote: $sql2 = "select * from product where whseNum = '".$whseNumber."' order by prodNum"; What does your PHP code look like after that? What is your index starting with? are you starting with 0? or 1? $sql = "SELECT id FROM product WHERE something = this"; $rs = pg_query($sql); $i =

Re: [PHP-DB] Skipping a row

2003-12-18 Thread John Greco
$sql2 = "select * from product where whseNum = '".$whseNumber."' order by prodNum"; "Fedde Van Feggelen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > >I have a select statement that goes to my mySQL db and selects some data > >from there. I thought it was working great BUT it i

Re: [PHP-DB] Skipping a row

2003-12-18 Thread Fedde van Feggelen
I have a select statement that goes to my mySQL db and selects some data from there. I thought it was working great BUT it is skipping the first row. Any ideas? I know it has to be somehting simple I am missing. What is the SQL statement you're currently using? Fedde ~=There's a fine line betwee

Re: [PHP-DB] Skipping a row

2003-12-18 Thread Martin Marques
El Jue 18 Dic 2003 18:27, John Greco escribió: > I have a select statement that goes to my mySQL db and selects some data > from there. I thought it was working great BUT it is skipping the first row. > Any ideas? I know it has to be somehting simple I am missing. Depends on how you are fetching y

[PHP-DB] Skipping a row

2003-12-18 Thread John Greco
I have a select statement that goes to my mySQL db and selects some data from there. I thought it was working great BUT it is skipping the first row. Any ideas? I know it has to be somehting simple I am missing. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.