$categoty = "18";
?????
Question..... is there a stats plugin / addon??? If YES, where can I get it?
Dear CuteNews Users! Please feel free to contact us via our new Feedback Form and please send information about bugs to our bug tracker.
You are not logged in. Please login or register.
CutePHP Forums → Posts by gunny
Pages 1
$categoty = "18";
?????
Question..... is there a stats plugin / addon??? If YES, where can I get it?
$categoty = "4";
Did you really spell it like that?
Yep.... The Fat fingers did it again...
my problem is even more basic than that... I have news setup in two different catgegories... 4 and 18 #4 has six news reports and 18 has three...
However. both of these code scripts returns all nine news reports...
For Category ID 4
<?PHP
$categoty = "4";
$number = "2";
include("show_news.php");
?>
For Catetory ID 18
<?PHP
$categoty = "18";
$number = "2";
include("show_news.php");
?>
What am I doing wrong.... All I want is for just the news for each category when it is selected...otherwise, the $category varaible serves no purpose... ANY HELP Out There????
No matter what I do, every news item is shown reguardless of the category # in the script.
One would think that only category '18' would be displayed but no... everything comes up... Help
Here's my script to pull up category 18 Script name is - district.php
<HTML>
<HEAD>
<TITLE>District 2 News Room</TITLE>
</HEAD>
<BODY BACKGROUND="ncmnthbk.jpg">
<CENTER>
<TABLE BORDER="4" CELLPADDING="5" CELLSPACING="5"
BGCOLOR="#FFFFFF">
<TR>
<TD><?PHP
$categoty = "18";
include("show_news.php");
?></TD>
</TR>
</TABLE>
<A ONCLICK="history.go(-1)"><IMG SRC="arrow1what.gif"
ALT="Back One Page" ALIGN="ABSMIDDLE" WIDTH="31" HEIGHT="31" BORDER="0">
Home Page!</A></CENTER> </BODY>
</HTML>
Email me at: gunny@thegunnys.us
Pages 1
CutePHP Forums → Posts by gunny
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.