View Single Post
Old Jul 31st, 2005, 9:17 PM   #17
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
mysql_select_db ($database) or die (mysql_error());

after that, "Select whatever from whosis", whatever is the column (field), whosis is the table. Keep the PHP manual handy on a link or a tab. It's invaluable. Just search for the function name to get the parameters and return.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote