I cant get this piece of code working, it will not echo anything, i've tried with speech marks etc. can anyone see anything?!?!?!?! PLEEEEEASE
$connection = mysql_connect($dbhost, $dbusername, $dbpass) or die (mysql_error());
$SelectedDB = mysql_select_db($dbname,$connection);
$productsql = "SELECT * FROM require WHERE id = 1";
$productResults = mysql_query ($productsql);
$productRow = mysql_fetch_array ($productResults);
$ProductName = $productRow["id"];
echo $ProductName;