Hi all,
Here is my script:
<?
$link = mysql_connect('localhost', 'username', 'password');
mysql_select_db('typh_ent');
$query = <<< EOF
SELECT name, picture, biography, profile FROM bands
WHERE band_id = $id
EOF;
$row = mysql_fetch_array(mysql_query($query));
?>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<font face="Verdana, Arial, Helvetica, sans-serif" size="3"><b><font color="#000000">Here
it is, a modified version.</font></b></font><br>
<br>
<?=$row['profile']?>
</body>
Why won't this display on my local server. The error message is:
Warning: Supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\cart\album_details.php on line 15
Is it a configuration problem....does anyone know?
Cheers,
alan