Jump to content

What's Wrong With This Code?


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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...