Gave it a shot, still doesn't completely work correctly!
Appears there is an issue with this...
http://www.mysql.com/doc/en/Problems_with_float.html
Curious how others have handled...
Here's my SELECT statement...
$querydetail = "SELECT *, DATE_FORMAT(rundate,'%W, %M %d, %Y') as wdate from races where workout_type = 'Race' and distance = $distancesel order by rundate DESC
Tried format(distance,2) = format($distancesel,2) but did not work either.
Tried to modfiy using mysql.com resolution, but couldn't get it figured out!!!
Sincerely appreciate any feedback. This is the final issue with my long awaited program!!!!