require("config.inc");
include("chksession.php");
include("fclr.inc");
$qry=mysql_query("select * from tbl_news order by nid desc") or die("Invalid SQL ".mysql_error());
if($qry){
$rows=mysql_num_rows($qry);
if($rows>0){
$data=mysql_fetch_row($qry);
$newsid=$data[6]+1;
}else{
$newsid="1";
}
}
?>
require("scripts.php");?>
include("topbar-inc.php") ?>
Manage News
This is the news section for your website. To Add a News fill in the textboxes with validation and submit. It will add the news click on the Edit News to edit a news and click on the Delete News to delete a news.
include ("backlink-inc.php")?>
Title
News
Action
$qry=mysql_query("select * from tbl_news where lngid='".$LngID."' order by rank") or die("Invalid Query ".mysql_error());
if($qry){
$rows = mysql_num_rows($qry);
if($rows>0){
?>