Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in MySQL only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
MySQL
How to retrieve Float data from MYSQL within PHP
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
jameelahmed
New Member
Join Date:
Apr 2007
Posts:
4
#1
How to retrieve Float data from MYSQL within PHP
Apr 26 '07, 03:55 AM
I m writing following query in PHP or MYSQL but couldn’t get result
Select * from table where field=4.8
ScarletPimpernal
New Member
Join Date:
Mar 2007
Posts:
39
#2
Apr 27 '07, 04:21 AM
Hi,
May be this will help,
Try this query
SELECT * FROM table WHERE FORMAT(field,1) =4.8;
Thanks,
Scarlet
Originally posted by
jameelahmed
I m writing following query in PHP or MYSQL but couldn’t get result
Select * from table where field=4.8
Comment
Post
Cancel
jameelahmed
New Member
Join Date:
Apr 2007
Posts:
4
#3
May 2 '07, 06:34 AM
thank u v much ScarletPimperna l
you solved my problem
thanks again
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment