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

RTF fomatting to email content
Im trying to sen an email with content is picked up from a rtf-file (file_get_contents('*.rtf'). Mai

Cant display mysql data
Hey all,

I am learning php and my first goal is to create a simple CMS. At the moment I am st

get url?
how do i get the url of the page i'm currently on, on my website.. i think its get header.. how do i

problem with refreshing
in my site, i have an index page, it has a main div. this main div's content is changing according t

Libraries in C++
Hi all,

I have two libraries. one is based targeted on linux platform and uses another li

Exporting new records
Trying to figure out the best way to set this up.

People register my site.

Their prof

Help with simple query
Hi,

I'm trying to do a Query with a Union where I want to print the number of rows $tc conta

Removing Title From database problem
Hi again ! i am having an issue with updating database. When i update any price of a title it remove

Filtering Tables
Hello Thanks for any help any one can give Im very new to PHP..

I need to pull data for clien

Getting rid of quotes when printing data
Hi Guys, I use the filter_var FILTER_SANITIZE_STRING to filter the textarea input. The function esca

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