Ok, I've got rid of the error message which suggests that the query's now running through fine.
I've got one last question then I promise I'll leave you alone!
I'm trying to use a while loop to cycle through the database and populate various variables.
This is the entire code:
PHP Code:
$recent_sql = "SELECT type, price, description, hire, age, adults, requirements, overnight, picture, dim, gallerypics FROM range WHERE type='$choice'";
while ($recent = mysql_fetch_array($recent_sql)){
$type=$recent['type'];
}
Now the wierd thing is that without changing the MySQL call, suddenly I'm getting error messages again saying that it's not a valid resource.
I dont' get it ...