i actually wanted to change the email address to be dynamic so this is what i have:
mysql_select_db ("ziggy_Lifestyles");
$sql = 'SELECT `customerID` FROM `Customer` WHERE 1 AND `email` = ' . $_POST["Email"] . ' LIMIT 0 , 30';
$result = mysql_query($sql, $dbh);
$row = mysql_fetch_object($result);
echo "<strong>" . $row->customerID . "</strong>"; //or whatever fieldnames you want to echo
and this is what it returns:
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/ziggy/public_html/lifestyles/final.php