Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support making a link from a categorie
Jeroen
Posted on 01 Jun 2010, 19:14:34

Access: Member
Total Posts: 1
Joined: 2010-06-01

hello,

I love this script:new_grin:. But i have one question.
I want at my index that a category is a link so when i have for example:
Category = Ajax
And I want that the link is "<a href="Ajax_news.php">more...</a>
and when the category is PSV the link must be "<a href="PSV_news.php">more...</a>

I hope some one knows what i mean and that it is possible.

#2363
Chris
Posted on 01 Jun 2010, 19:44:17

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

index.php
Code:
<a href="ajax_news.php?cat=ajax">more...</a>



ajax_news.php
Code:
<?php
$cat 
= array();
$cat[] = $_GET['cat'];
include 
'news/index.php';
?>
#2364
Last edited by Chris at 2010-06-02 05:45:07 Reason:
Network-13.com © 2013