[PHP] Single Digit in Double digit column

2001-07-23 Thread Rehuel Lobato de Mesquita

guys, I don't know If this is the rigth place to ask this question, but
please help me!

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.
Stretsh



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Single Digit in Double digit column

2001-07-23 Thread Mark Roedel

 -Original Message-
 From: Rehuel Lobato de Mesquita [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 23, 2001 12:00 PM
 To: [EMAIL PROTECTED]
 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 ([EMAIL PROTECTED])  ||  There cannot be a crisis next week.
Systems Programmer / WebMaster  ||   My schedule is already full.
 LeTourneau University  ||-- Henry Kissinger


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Single Digit in Double digit column

2001-07-23 Thread Christian Reiniger

On Monday 23 July 2001 19:00, Rehuel Lobato de Mesquita wrote:

 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

2 digits isn't much...

 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

What did you do?

 I want to know where to look.

In your query. Or your PHP code.
That's about all I can say. If you want to get a useful answer, provide 
some relevant facts.

-- 
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)

This is JohnC IMHO, I compaired tri-word groupings here and in his plan
and got a good match.

- /. posting discussing the likelihood that an AC post that claimed to be
posted by John Carmack during his honeymoon (and having the login info at
home) was actually from him.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]