When I run the script it echo's the hello world and $rid, but not the $name $row[name]. I know it's something stupidly obvious, I just can't work out what.
Any help is much appreciated
<?php
include ("connect.php");
?>
<head>
</head>
<body>
<?php
$rid = $HTTP_GET_VARS[rid];
$sql = "SELECT * FROM recipies WHERE rid = '$rid'";
$result = mysql_query($sql) or die(mysql_error());
$name = $row[name];
$description = $row[description];
$serves = $row[serves];
$instructions = $row[instructions];
$time = $row[timee];
$picture = $row[picture];
echo"
Hello
$rid
$name
$row[name]
";
?>
</body>