Log in

View Full Version : CUTE.PHP SSCRIPT FOR HOME PAGE



JoeComins
05-04-2005, 07:37 AM
i need 2 to how to put my news on my home page. i no theres but a script but which 1?

iRoss
05-04-2005, 08:38 AM
<iframe src="/cutenews/show_news.php"
width="580" height="518" frameborder="0" scrolling=yes name="iframe">

and place it where u want the news 2 show...

Tomdarkness
05-04-2005, 10:44 AM
that for a iframe if u want it just on the page use this:
<?PHP
include("path/to/show_news.php");
?>
but make sure the page u put the code in has a .php extenstion

Luckyrare
05-04-2005, 03:22 PM
Or... If your Using Iframes like it to http://YOURDOMAIN.com/cutenews/show_news.php

JoeComins
05-04-2005, 05:17 PM
does it matter if i've gt a html template? and editing it on a html editor? and i aint using frames

splintercell!
05-04-2005, 06:06 PM
then you will have to use the
<?
include ('news/path/show_news.php');
?>
there no other way sorry its that or iframe..

Mentor
05-04-2005, 06:37 PM
incluing its realy the proper way, as u can select catgorys, put it in to the cat;ly layout etc, select news per page and so on. far more effective than just ifraiming the show_news.php .

All of this is in the readme, which for some reason nobody ever seems to look at :/

Anderman
05-04-2005, 07:28 PM
Hmmm yes :/
Quick note to say if you put the php code into your webpage you will need to save it as news.php not news.html

JoeComins
06-04-2005, 09:02 AM
it still don ork. pm me if u'll do it 4 me. i cant. ill give u ma user & pass. but i need it dun

scottish
06-04-2005, 09:05 AM
<iframe src="http://www.Your URL/cutenews/show_news.php"
width="580" height="518" frameborder="0" scrolling=yes name="iframe">

Just insert That I Dont Use Iframes And It Still Works ;)

Want to hide these adverts? Register an account for free!