Posted on: 10/02/02 06:51am
By: Anonymous (Anonymous)
just a general PHP and MySQL question really!
i have set up a basic table set in html and am wondering how i display information from a mysql database into a given table.
am guessing ther is some code that needs inputting into the table to bring down the info from the database, am i right??
MySQL and PHP
Posted on: 10/02/02 09:06am
By: Matty
That's an extremely broad question. Essentially what you're asking is "how do I script using php/mysql", and that would take a long long time to explain. I've been learning php/mysql for about 4 months now, and I'm far from mastering it.
So, I suggest visiting php.net, phpbuilder.com or sitepoint.com, or even studying the Geeklog code to get an idea on what it's all about. Better yet, get a good book on php.
A basic answer to your question... connect to the database, query the database, put the data into an array, then display the data. -----Matty