|
|
 | | Click Arrow to SITESURF! |
require('admin/includes/config.inc.php');
require('admin/includes/dbinteract.lib.php');
$editorial = '';
if ( !empty($_REQUEST['show']))
{
$showEd = $_REQUEST['show'] ;
$edInfo = db_getRow('tbl_editorial',array('id','title','text'),array('id'),array($showEd));
$editorial = '
'.$edInfo[1].'
'. $edInfo[2] . '
';
}
//connect to db
db_connect($link);
//list editorials
$query = 'SELECT id, title, post FROM tbl_editorial WHERE post = -1 ORDER by title';
$result = mysql_query($query) or die(mysql_error());
echo'';
//disconnect from db
db_disconnect($link);
?>
//show editorial
echo $editorial;
?>
|
|
[Back to Top]
All content & images used © copyright Windsor\'s Websites, Chris Arquette
echo ' |