?

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

?Topics Author? Date
?mysql db??new
Brian 03-07-03 14:24?
?Re: mysql db??new
bastien 03-08-03 06:23?
?Re: mysql db??new
Brian 03-08-03 14:32?
?Re: mysql db??new
Chris 03-08-03 16:13?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
??wrote: > > 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 ">??

Provided By
Phorum