Location: PHPKode > scripts > PHP Classified script made easy > php-classified-script-made-easy/openclassifiedsdownload24124/Files/inc/header.php
 <?PHP
 include("config.php");
 $connection = mysql_connect($globalConfig['dbhost'], $globalConfig['dbuser'], $globalConfig['dbpass']) or die(mysql_error());
 mysql_select_db($globalConfig['dbase']) or die(mysql_error());
								 $query  = "SELECT * FROM settings WHERE id = '1' limit 1";
 $result = mysql_query($query);
 while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
							  $block1 = html_entity_decode($row['block1']);
							  $block2 = html_entity_decode($row['block2']);
							  $block3 = html_entity_decode($row['block3']);
							  $block4 = html_entity_decode($row['block4']);
							  $block5 = html_entity_decode($row['block5']);
							  $block6 = html_entity_decode($row['block6']);
 							  $block7 = html_entity_decode($row['block7']);
}
?>
Return current item: PHP Classified script made easy