Jump to content

What's Wrong With This Code?


SteveFrost

Recommended Posts

Hey,I am using the following code but the page keeps on returning False even if I enter a query string to fill the $id variable.

<?phprequire_once('index_functions.php');require_once('breadcrumbs.php');class vfrHome{		public function QueryString() {		$id = $_GET['id'];				if (isset($this->id))			RecentNews($this->id);		else			RecentNews("0");			echo "False";	}	public function Breadcrumbs() { 		$breadcrumb = new breadcrumb;		$breadcrumb->dirformat='ucwords';		$breadcrumb->showfile=FALSE; 		echo $breadcrumb->show_breadcrumb();		echo " > Recent News";		}	}?>

Thanks in advance,Steve

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...