Please help?? Warning: mysql_fetch_row()

Codes here !

Moderators: macek, egami, gesf

Post Reply
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Post by Oleg Butuzov » Sun Mar 30, 2003 11:45 pm

common_db.inc
in thi file you must put all info about connecting to db.
for exemple

Code: Select all

$user="pejone";
$password="pejone";
$hostname="localhost";

$dbname="portfolio";

if (!($link=mysql_connect($hostname, $user, $password))) { echo "mysql_error() :: Error conecting to the data base<br>"; }
else {
mysql_select_db($dbname, $link) or die (mysql_error());
}

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests