PHP + MySQL
| From: | Rikard Lindström | Date: | Thu, 24 Aug 2000 07:27:12 +0000 |
| Subject: | PHP + MySQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-13314@lists.php.net to get a copy of this message | ||
I have a little question about PHP with MySQL!
Is it possible to get the fieldnames from the database (the title of every column) into a webpage through PHP?
Lets say the database looks like this :
(ID, Fname, Lname, Email, Phone, machine1, machine2, machine3, machine4 .....)
1, John, O´connor, jo@aol.com, 555-444333, 99-01-02, NULL, NULL, NULL
2, blah, blah, blahblah@aol.com, 435-234235, NULL, NULL, 00-08-24, NULL
First I want all the machines in a dropdown menu, is that possible?
And then I want to check every guy that are registred with machine1, and so on..
Just wonder if that is possible ? And if it is, give me a little tip!.
Thanks / Rikard