Jump to content

GPS coordinates and float issue length,value


dflow

Recommended Posts

The AND clause shouldn't be there.

 

You should check out the error function of whatever database flavor you're using. In MySQL, it's mysql_error. That will contain an error message, if any should occur.

thanks

;) my bad :D

 

well i jumped the gun (classic ADD)

UPDATE markers SET lat = '38.53869991333522',

lng = '-0.120849609375' WHERE ApID = '33236'

is returning 0 affected rows in phpmyadmin

mysql_error() gives nothing

Link to comment
Share on other sites

  • 2 weeks later...

If you actually ran the select query and it produced results, then I don't see any reason for the UPDATE query to fail.

yep i dont get it myself, i have 0 affected rows ...

i thought it's something to do with the float structure.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.