homepage Welcome to WebmasterWorld Guest from 204.236.254.124
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
simple sql shows only first digit from int column
hozyali




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

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




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

Can you provide the relevant code?

hozyali




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved