i recieve this error from this part of the code:
mysql_fetch_array(): supplied argument is not a valid mysql result resource
it's returning a long text from the database which is about 200 characters long.
Thanks for any help that is given.
<?php
if ($_SESSION['is_town'] = 1){
$query = "SELECT usemap FROM town WHERE town_id = " . $_SESSION['townID'][0];
$db_result = mysql_query($query);
$db_usemap = mysql_fetch_array($db_result);
echo $db_usemap;}
?>