Jump to content
MakeWebGames

Inserting 1000 records...easier way?


Recommended Posts

Posted

I want to insert about 1000 records into a MySQL table. They will need first name, last name, and a couple of stats, but i suppose the stats can be done with a rand function.

I really want to know: Is there an easier way to enter 1000 names into the database that going through and manually entering them?

Posted

Re: Inserting 1000 records...easier way?

you can if you want random first names and last names (xa33fc assf33) etc

for ($x = 1; $x <= 1000; $x++) {
   mysql_query();
}

 

otherwise, i highly doubt it

  • 1 month later...
  • 7 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...