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

Relative path
I have a absolute path to an image - like so: C:/Program Files/Apache Software Foundation/Apache2.2/

Which practice of iteration through containers is preferred
In the "real world" what kind of loop do most people use to iterate through a container like a vecto

db entry based on primary key
My "topics" table contains 10 entires
*--------------*
topicid topic
------

Remove values in array2 from array1
I have two arrays.

Array 1 is where the array key holds various different numbers. For exampl

php call servlet
I have done a php backup application .
So there is a form that user pick some files to zip and d

split string
Hi all

i have some names (imploded by comma):
Code: toronto,paris,madrid
Now, i would

Simple AND question
Hello,

I've got following code:

Code: if(strpos($row[13],"http://")

Prevention Help
How can I use PHP or any other language (feel free to move this thread) to prevent users doing scree

MVC - Code review
I'm in the process of trying to wrap my head around MVC, and as part of that, I'm attempting to impl

getAlexaRank($url) function not working
I have made a function to get alexa rank
the site is here: http://mytestsite.rack111.com/1

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