Uploading text files
- From: Ward B <WardB1969@xxxxxxxxxxx>
- Date: Sat, 06 Aug 2005 16:09:37 -0400
Greetings.
I'm somewhat new to this whole MySQL/PHP thing and need a little help.
My web hosting service uses phpMyAdmin and at the bottom of the screen
iis an area where I can upload a text file to populate a table.
I have a table named groups with two fields:
groups_id auto-increment primary
groups_name
So how do I create my text file to populate this table?
I'm going to use MS Notepad.
If it's set to auto-increment, do I need to include the number? If
so, does it start at 0 (zero)?
Would the file look like:
0,students
1,faculty
2, staff
or just
students
faculty
staff
(though I can't image that working).
Any help is appreciated.
Thanks.
Ward
.
- Follow-Ups:
- Re: Uploading text files
- From: Kristofer
- Re: Uploading text files
- Prev by Date: How to create an XML DOCTYPE in php5?
- Next by Date: Populating MySQL table with text file using myPHPadmin
- Previous by thread: How to create an XML DOCTYPE in php5?
- Next by thread: Re: Uploading text files
- Index(es):
Relevant Pages
|