← Back to team overview

phpns-team team mailing list archive

[Question #100335]: using more than 1 #include in a php file.

 

New question #100335 on phpns:
https://answers.launchpad.net/phpns/+question/100335

<?php
	$phpns['category'] = '33';
	$phpns['limit'] = '200';
	$phpns['template'] = '9';
	$phpns['order'] = 'asc';
	$phpns['items_per_page'] = '2';
	include("/Applications/XAMPP/xamppfiles/htdocs/phpns/shownews.php");
?>
<hr>
<?php
	$phpns['category'] = '32';
	$phpns['limit'] = '200';
	$phpns['template'] = '9';
	$phpns['order'] = 'asc';
	$phpns['items_per_page'] = '3';
	$phpns['static'] = true;
   	$phpns['disable_pagination'] = false;
	include("/Applications/XAMPP/xamppfiles/htdocs/phpns/shownews.php");
?>

<hr>

--------------------------

i'm using the above code but its not working the way i want it to ve. it shows the other news item when i click on the title. 

any heads up on this?

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.