?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?mysql db
Author:??(---.188.156.17.stc.mn.charter.com)
Date:???03-07-03 14:24

Is there an easy way to get 400 form fields into a mysql db? The script I'm using (got it from a mysql / php tutorial, cuz I'm new at this stuff) needs the field names in it. Like this.

[code]
$query = "insert into game1 values (
'$T1', '$T2', '$T3', '$T4', '$T5', etc...
[/code]

where T1, T2, T3 etc are the names of the fields...can this be done any other way than typing all 400 names in?

Thanks.

Brian

?Re: mysql db
Author:??(---.cpe.net.cable.roger)
Date:???03-08-03 06:23

see here
http://www.mysql.com/doc/en/LOAD_DATA.html

may help

?Re: mysql db
Author:??(---.188.156.17.stc.mn.charter.com)
Date:???03-08-03 14:32

not every field of the 400 is required...so can I put a blank line in the text file if nothing is entered...so that it puts nothing in the mysql field?

?Re: mysql db
Author:??(---.blueyonder.co.uk)
Date:???03-08-03 16:13

It would just leave a blank field yes.

Go to Top??|??Go to Topic??|??Threaded View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
??

Provided By
Phorum