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

constructor ?
i have written this program and made 3 constructors in the class and i want to call them in the main

Procedural to OOP
John Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pr

Request.UrlReferrer
I need to make it so that a page can only be loaded when a button is clicked on a specific page. I d

Select question
Hi,

First I would like to say that php is pretty new for me..
so please don't shoot me if

printing links
Hi every1

i am connecting to a table in sql and the looping through with a while ($ var = my

help with this code please?
Hello,

I am trying to build a remote upload script for my image hosting site.

I am usi

question about header() security
is is safe to just use the header() function to redirect someone if they are, say, not logged in? or

Problems generating word documents on server side for security reasons
I have a problem with word documentation generation when generating a word document (docx) with PHP.

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

multiple recipients + dbuser mail recall
Hello,

I am building a php login script.

When the user registers the script will send

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