LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 10-27-2010, 02:46 AM   #16
air4time
Member
 
Registered: Aug 2004
Distribution: Slackware 10.2
Posts: 35

Original Poster
Rep: Reputation: 15

Thanks Mark1986

I think the main problem is I have no user table or field nor do I have any of these
Quote:
profiel, ww, email, actief, ww_temp
.
I think you may be thinking of another DB. I can't check this till later today .

Thanks Lonnie
 
Old 10-27-2010, 03:25 AM   #17
Mark1986
Member
 
Registered: Aug 2008
Location: Netherlands
Distribution: Xubuntu
Posts: 87

Rep: Reputation: 11
Yep you are right. I gave you an example of how I inserted some unique rows into a table. In my case I needed a test case with 20 random users. So I made that PHP file. It inserts 20 random users into a table I need.

You need to adjust the script so it will insert data into your table. First create an INSERT statement for your own table. Try to insert 1 or 2 rows using just SQL. Then try to adjust the PHP script to fit your needs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL - Script to create account wegadnie Linux - Server 2 02-22-2010 08:02 AM
I have $700 in a business bank account and want to get my foot in the door in IT mohtech Linux - Certification 2 03-19-2008 08:28 AM
Help in getting my account some mysql priveledges mobo Ubuntu 1 09-17-2005 06:20 AM
MySQl account login, PHP agallant Programming 2 07-16-2004 11:01 AM
Fixing MySQL root account permissions. TexasDex Linux - Software 2 02-02-2004 09:39 PM


All times are GMT -5. The time now is 05:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration