i dunno what ive done wrong now but it doesnt like it, it says that mysql fetch row is not a valid resourse or something, sed the same about mysql fetch array when i used that.
<?
session_start();
if(!$_SESSION['username'])
{
include ('adminlogin.php');
exit();
}
$site = $_GET['site'];
$selection = mysql_query("SELECT * from sites WHERE id='$site'");
$poo = mysql_fetch_row( $selection );
echo "<font face='tahoma' size='2'>";
echo "Change referral link <input type='text' name='ref' value='$poo[0]'>";
any ideas?
please help
Evan