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:

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

Staff Induction System - No idea where to go from here!!!
Hi there, I'm pretty new to PHP and Mysql so could really do with being pointed in the right directi

Word filter problem
Hello,

im trying to make a filter for words inputted in to my website but i want to store the

Buggy registration system
Hey, I just started scripting in PHP, and I ran into a few problems.
Code: <?php
includ

Reading waves
Hi,

I am trying to find a way of finding the highs and lows on a graph line, the line points

Simple image grab script.
I was wondering if it was possible and if anyone knew how to make a simple php script that looks at

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

How do I replace any number of character occurences with one occurrence?
How do I replace any number of character occurences with one occurrence?

Let's say I have:

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

reating a background image
I am building a site in drupal and have a php form in it, due to certain annoyances with module buil

News script
Hi ...

I am not sure if this is the rite place to post this but if its not sorry

i am

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