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

Calling strings from other php class
I have test1.php{
$string1;
$string2;
....
... //10 strings in this class <

PHP webpage & array print issue
I have this code running, and it works perfectly … however, see my bottom bit about what I see

fopen() security
As i understood the usage of fopen() for it to function correctly the Dir you write to has to be rw

Problem with shopcart code
Hello, I am having a bit of trouble being able to add a product to my shopcart. My mysql database i

Working with popups and such in a class
I've recently started building my applications completely enclosed in classes. I like the fact that

media recovery
Hi,
i startup the database i got the error

SQL> startup
ORACLE instance started.

remove trailing slash from array
I have the following array which contains trailing slashes I need to remove. What is the best way to

NOOB needs help with upload file
The intent of this form is to create a folder for a client and upload an image into another folder '

Internal Server Error issues
This has been bothering me for weeks and I've been trying to solve it without asking for help, but e

How to read CSS message data
Hi,
I have a requirement here. When working as a Dev angel for multiple customers its really di

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