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

Accessing element of object array
Hello

My object looks like this:


Array ( [0] => User Object ( [id] =>

Just wondering what you think about my site
I am new to phpfreaks i just seen this form and thought it would be cool to see what other thought a

help with variable
I've got a problem, i want to echo some images depending on the $id, however for me to get that id i

Loop column after 2 results
Hello All.

Here is what I have:

Client ID Company name Clien

Problems with strings containing
Hey all,

I have encountered something strange in a script. I am trying to write an XML heade

why aint this working?
i have this code:

Code: $num = 250;
$count = ($num - $rcount);

echo $rc

close site for maintenance
i get a tutorial, saying the following code can put our site offline, and only the developer can vie

Bit manipulation program with binary operations
My homework is to create a program to scan in and add binary numbers and print them like so

Fatal error: Call to a member function fetchrow() on a non-object in C:xamppht
okay i have this query and everytime i add `item_id`=? to it... it gives me the error in the title..

Save file by click
Hello.
I'm not understand how to save file from page. I'd like make link to file with save abil

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