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

Nested (echoed) php running wrong script
Got a problem with a php website I'm creating.

In a nutshell, the first page is entirely html

Help with Password Encoding/Decoding?
Trying to design a "change password" tool. On my signup code I'm using base64_encode, now

ereg_replace issue
hi there people

i have this code happening with regards to my wamp server. is this something

Add User script "Could not execute query"
This should be an easy script but I can't get it to run. Can someone please help me?

<

PHP error. Need help urgently
Hi,

I am programming a php site and have a problem that i just cant find out how to fix. When

help understanding hidden input w/ php
hello i'm doing a tutorial where there are multiple forms for an edit page for a user to update thei

type check while uploading
Hi Everyone,

How can I check the exact type of a file while uploading on my site?

Here

Embed Video Problem
Hey, thanks for looking!

File to be embedded:

Code: <playlist version="1&q

This is driving me nuts!
This insert query looks to be alright, however I get this error:

QuoteYou have an error in yo

WELCOME SCREEN
first of all let me tell you what does my script do,

it´s a very simple query to show a e

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