RE: [PHP] Single Digit in Double digit column
| From: | Mark Roedel | Date: | Mon, 23 Jul 2001 18:24:18 +0000 |
| Subject: | RE: [PHP] Single Digit in Double digit column | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59257@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Rehuel Lobato de Mesquita [mailto:rehuel@cq-link.sr]
> Sent: Monday, July 23, 2001 12:00 PM
> To: php-general@lists.php.net
> Subject: [PHP] Single Digit in Double digit column
>
>
> I have a mySQL table, where the ID field is an auto increment
> number (INT(2)). I have a query that selects 2 colunms in the
> table and the lists them, but only the items with a double digit
> id are displayd. it fails to display items with 1 digit!
> What did I do wrong
> I want to know where to look.
It's hard to say for sure what you did wrong, since you really haven't
given us much information on what you did.
My first thought, though, would be to take a closer look at your query
to see if you're perhaps filtering out more than you expected. Perhaps
if you posted that, along with whatever parts of your source code seem
relevant...
---
Mark Roedel (roedelm@letu.edu) || "There cannot be a crisis next week.
Systems Programmer / WebMaster || My schedule is already full."
LeTourneau University || -- Henry Kissinger