Code: Select all
$result = mysql_query("SELECT * FROM blocks WHERE block_side=1 ORDER BY block_priority");
while ($myrow = mysql_fetch_array($result)) {
include $myrowї"block_file"];
}
echo "</table>";ive tried loads of ways to do this and im at a loss, if someone can help me it would be greatly appreciated.
the structure is like this...
my main page incudes the blocks.php page, the blocks page consists of the above code and opens the link to the block.
thank you
phase