Women in Technology

Hear us Roar



Article:
  Using MySQL from PHP
Subject:   Connect to MySQL DB
Date:   2007-11-04 03:21:29
From:   dashtimothy2000
Response to: Connect to MySQL DB

hi good day to you. i got similar problem. Im new to php and i cannot connect to my databse either heres my connection code:


$link = mysql_connect("localhost","my_db","my_passwrd")
or die("Could not connect : " . mysql_error());


Wander if you have got the reply on your prob and if you can help me with ths.


Thank you


Dennis