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

Please help with SMTP Authenticated PHP Email Form
Hello, I'm creating a PHP email form, and for this particular server, I have to use SMTP Authenticat

Unable to customise toolbar in FCK
error with opendir
when i do this

if ($handle = opendir($dir)) {
while (false !== ($file = readdir($han

Having Problem with Date
l have a submit buttom where user have the possibility to add a date to specify when his message s

Using two $_POST Function / Switch () statements, second does not work.
Hi all. I’m new to php and am having a problem getting $_POST Function / switch () to work. I

Character increment
Hi,

I am facing a scenario like above,but in my case i want to show up like Col A,Col B etc..

very easy question about SQL info
Hello,
I think that I have a very easy question.
I know how to create a form using php SQL and

First root of a number
Hi,

I can't find any function in php to give me the first root of a number.
Is there any

Setting/Modify Headers using mail() function
I have a question about setting email headers when using mail() in a php script.

When I send

Typedef struct vs just struct
Anyone know the rationale for using typedef for structs when a struct is itself a typedef? I have s

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