Forum Moderators: coopster

Message Too Old, No Replies

simple sql shows only first digit from int column

         

hozyali

3:04 pm on May 31, 2011 (gmt 0)

10+ Year Member



Having a strange issue. My sql statement was working fine earlier.
but now it shows only first digit from ID field.

for example if the actual value is 315, it shows only 3

I have nothing special in my code, please help.

thanks

LifeinAsia

4:06 pm on May 31, 2011 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Can you provide the relevant code?

hozyali

4:16 pm on May 31, 2011 (gmt 0)

10+ Year Member



Nevermind. I had an error in my sql statement actually.
I was calling two fields with same name and and different tables. So I had to change the name of the other field. it fixed.

thanks very much