What I WANT to do is something similar to the following:
Code: Select all
$refresh = "$query = "SELECT * FROM tree WHERE urn='$mainurn'";
$result = mysql_query($query)
or die ("Couldn't execute query");"set this up so that it WILL work!!
In case I've lost anybody, I want to set $refresh to run the above MySQL query as the query is used lots of times throughout my page and I want to save time!
If you want to see what I'm playing with, you'll find it at http://www.didymus.org.uk/new/tree/disp ... ?urn=11164
Thanks in advance.
KD.