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

Confusing Functions
So, I've been reading up on Functions and I like them! However, I need some help using variables in

word wrap in emails help needed
Hello, I understand how wordwrap works in php and have used it well before. However when I used wor

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

LinkedList help
Ok so I just learned quickly about lists, so I have a not too hard project I think, but am having a

Breaking results into week blocks
I have a set of dates (and times), which are returned from a mySQL query.

These usually span

Do something every fifth time?
I'm trying to write a loop, but I want it to do something different after every fifth instance. Like

Writting a script to arrange images........ need some help
Ok so here is the link

http://hmtotc.com/dev/projects/vrassociates/jeweler_dev/admin/index.ph

empty() error
Why does

Code: empty($USER_ID = $_SESSION["USER_ID"])
create this error...

Facebook status update API
Hello,

So, I'm trying to create my first Facebook application with PHP.

Basic ideas fo

File upload issues
Hi Guys,

Can anyone see any issues with this code:
Code: $setImage= 'productimages/' . dat

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