$connect = @mysql_connect('localhost', 'root', 'pass'); Could someone explain to me what the root will be, is it the DB Name? Thanks
'localhost' = servername 'root' = username 'pass' = password http://us2.php.net/manual/en/function.mysql-connect.php Don't forget you can use PHP.net to lookup functions and find out what they do and what their parameters are -the mole
root is the username and it means administrator(superuser) in unix/linux systems...This is the user with all privilages to the system. To change, delete, add system files and all other users files. root for mysql .... read above You should use root username only when you are administrating your system or database (adding users, databases, changing files) for you to connect to database always use premade normal users which has privilage to change only database assigned to him with root user of course you have all privilages http://dev.mysql.com/doc/refman/5.0/en/
password for root is usually empty - need more information to help you More information here : http://us3.php.net/manual/en/function.mysql-connect.php Give me green points if this helps