MySql table/variable questions
Posted: Mon Aug 11, 2008 8:31 am
Hey, I'm new to this, but I'm wondering about a few things.
(1) In a table, 1 field is equal to 1 variable?
(2) Would I be able to change the field name and it's data in the php script?
(3) Would it be faster to save my variables in a text file on my domain or in a field on MySql?
(4) How do I receive a data field from MySql using php?
(5) How do I write to a data field from php?
(6) If someone accessed my php page with " -d usr=Gandolf -d pass=cow " after the .php, how would I use that to affect my php script?
(7) How do I write data to a text file and read data?
(8) How do I create a new text file?
(9) How do I create a new field in MySql from a php script?
Thanks,
-Gandolf
(1) In a table, 1 field is equal to 1 variable?
(2) Would I be able to change the field name and it's data in the php script?
(3) Would it be faster to save my variables in a text file on my domain or in a field on MySql?
(4) How do I receive a data field from MySql using php?
(5) How do I write to a data field from php?
(6) If someone accessed my php page with " -d usr=Gandolf -d pass=cow " after the .php, how would I use that to affect my php script?
(7) How do I write data to a text file and read data?
(8) How do I create a new text file?
(9) How do I create a new field in MySql from a php script?
Thanks,
-Gandolf