Inserting 100x and 100y coordinates in mysql table - easy


Posted on 16th Feb 2014 07:03 pm by admin

Is there a way to insert this data into a mysql table named 'map' with the fields: 'x int 3' , 'y int 3' in an easy way with maybe a for loop or something?

I want the data entered to be like this:

Did you know?Explore Trending and Topic pages for more stories like this.
0x 0y
1x, 0y
2x,0y
3x,0y


all the way up to 100x and 100y.

All feedback appreciated
No comments posted yet

Your Answer:

Login to answer
71 Like 22 Dislike
Previous forums Next forums
Other forums

help with mysql_error()
Hi,

I am trying to insert data into a table, but I am not able to insert it. I wanted to see

Trouble checking SESSION cookie
I am trying to use $_SESSION cookies to verify admin privileges .
I don't understand why this is

Easy administration on MySQL databases
My website is database driven and I am very tired of manually making queries to my tables in order t

Creating XML with php
I need to creat an XML with php and have successfully produced a valid output.
The problem I hav

single values into sql field
i have a form which i want the user to able to select multiple answers. But i want the answers to be

Error when call dll from oracle
Hi all, please help me!

I have dll write C language, I want call it from oracle procedur

Navigation include for all site directories
Hi,

I need a navigation include that can deal with directories at different levels on a site.

Php - mysql store data and use it later?
Hi, i' making a login page at the moment, however my username + password is stored many different pl

Perplexing problem showing a .jpg
Please disregard..........I figured it out

Error with login script
I am getting an error with my login script:

Error:
Code: Warning: Cannot modify header inf

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash