11-06-2007, 02:30 AM
|
#7 (permalink)
|
|
The Wanderer
Join Date: Nov 2007
Posts: 22
Thanks: 0
|
That is exactly like the original code that works in the other page, but it still kicks back an error on this page. Here is the whole script :
<?php
$currentPage = basename($_SERVER['SCRIPT_NAME']);
require_once('dbconfig.php');
$recordset = mysql_query('SELECT id, date, title, description FROM news WHERE id = '.$_GET['id'].' LIMIT 1') or die(mysql_error());
$row = mysql_fetch_array($recordset);
?>
Maybe that will help
|
|
|
|