Re: Skipping a row
| From: | Martin Marques | Date: | Thu, 18 Dec 2003 22:13:59 +0000 |
| Subject: | Re: Skipping a row | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32119@lists.php.net to get a copy of this message | ||
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 your rows. I think you have to start with the
row 0 on some databases.
I personally don't have to think much of that since I use PEAR::DB. :-)
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telemática
Universidad Nacional
del Litoral
-----------------------------------------------------------------