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

Help with lottery style system?
I'm working on a currency system for forums and it is going to have a type of lottery system built i

remove a ; from emails in textarea
Code: <?php

session_start();

$database_host = "localhost&qu

turning an array into a string then poping it into a db
Hi im just wondering how you get a requested array into a single string then pop it into the db so f

Help with file_get_html
The following code gives the expected results:

<html>
<head&g

Simple Question
I know this is a simple question, that if I knew what it was technically called i could probably loo

problem with php server update from mid 2009
Hi,

I have this navigation menu on 2 websites which used to work just fine. After a recent up

PHP mail() with images
I'm trying to get images to send along with my HTML e-mail sent through PHP mail(). I only tried vie

what business processes?
Hi,

A general question. What business processes (like OTC - Order to Cach, P2P, R2R etc)

Open/Close Links in Php
Hello, Hoping someone can inform me how I can get PHP to automatically open a set of links in a new

Most basic form question ever?
Hello,

I want to use this snippet to make sure the fields in a form are ok before processing

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