This is my first time using PHP and MySQL, and probably the last one. Ahhh...
I'd been doing copy&paste all the way through but i got to a point where i get no errors but page stays white and no results are on the screen, This is my code (where I'm stuck)
<?php
extract($_GET);
$con = mysql_connect("localhost","admon","labase");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("table_properities", $con);
$result = mysql_query("SELECT * FROM Sales
WHERE ID='$id'") or die (mysql_error());
$row = mysql_fetch_array ( $result );
echo $row['description']." - ".$row['bonus'];
?>
Any help is highly appreciated.