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

php libs/ browsercap.in
ok i have a host that refuses to stay current. they control my php settings and libs. is there a way

Timer control causing error
I recently decided to add a timer control to an existing page that uses AJAX on my site. As soon as

Need help with an email blocker for a guessbook
I am new with php and here is a simple guessbook page but I am being hit with spam from a group of t

Displaying a record from mysql in a simple swf file
Hi,

I have a mysql database containing information I would like to display in my swf.

Getting Resource id #11 while trying to connect..
So i tried using "DEFINE" for the first time and im using the variables i defined to conne

Need some ideas as to how to go about sorting this array...
Here's how the array's are created..

Code: <?php
while ($x = readdir($dp)) {

Strange php code found on my website
I got hacked and the following code was placed within my files:

Code: [Select]<?
/*

Multithreading design
Hi

I have come up with a Singleton class that manages a pool of database connections. Basical

random generation
hi

i need help with generating this

numbers from 1-12

i want to generate in ran

MySQL Does not UPDATE- SQLString Problem
vb Syntax (Toggle Plain Text) 1. SQL = "UPDATE sampletable SET column1 = 'C1sample1'"

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