CuteNews

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> My Category won't work..
gunny
post Jul 1 2012, 06:15 AM
Post #1


Newbie
*

Group: Members
Posts: 4
Joined: 28-June 12
Member No.: 77,570



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><BR><A ONCLICK="history.go(-1)"><IMG SRC="arrow1what.gif"
ALT="Back One Page" ALIGN="ABSMIDDLE" WIDTH="31" HEIGHT="31" BORDER="0"><B>
Home Page!</B></A></CENTER> </BODY>
</HTML>

Email me at: gunny@thegunnys.us
Go to the top of the page
 
+Quote Post
Damoor
post Jul 1 2012, 09:10 AM
Post #2


Damoor
***

Group: Members
Posts: 1,781
Joined: 16-August 05
From: Scaro
Member No.: 5,445



$categoty = "18";

?????
wink.gif


--------------------
Damoor
It's better to keep your mouth shut and appear stupid than open it and remove all doubt:- Mark Twain
Go to the top of the page
 
+Quote Post
gunny
post Jul 1 2012, 09:27 AM
Post #3


Newbie
*

Group: Members
Posts: 4
Joined: 28-June 12
Member No.: 77,570



QUOTE (Damoor @ Jul 1 2012, 02:10 AM) *
$categoty = "18";

?????
wink.gif


Question..... is there a stats plugin / addon??? If YES, where can I get it?
Go to the top of the page
 
+Quote Post

Fast ReplyReply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 21st May 2013 - 09:38 AM