xypno
01-04-02, 13:49
| I know it sucks helping out a newbie but if anyone has the patience please help. I started off with php and mysql to learn online db. I'm trying to create a intranet with a knowledge base. So I'll be using SQL 7 and php. The commands for mysql were faily easy $db = mysql_connect("localhost", "root"); mysql_select_db("mydb",$db); $result = mysql_query("SELECT * FROM employees",$db); Thats how I started off with, but in sql 7 its just totally foreign for me.. How do I connect to the SQL Db? is the same way? Because I dont remeber ever having to use a username or password since i used local system info. Anyone willing to help me get started? Thats ALL i need.. just a little boost so that i can start learning.. cuz right now i dont know what the hell im doing... i used tutorials to query and all but not to get this thing on the web.. thanks.. |