PDA

View Full Version : Slight trouble with my PHP script, not showing news anymore?



Unique!
17-04-2006, 08:00 PM
Hey,
www.uniqueego.com/index2.php (http://www.uniqueego.com/index2.php)

Why isn't the command fetching the requested page?

I'm sure it's wrong or something?

Thanks.

Liam.
17-04-2006, 08:04 PM
Try:

<?php

include("news/news.php");

?>

Instead of:

<?php
include('news/news.php');
?>

MattUH
17-04-2006, 08:06 PM
Hey,
www.uniqueego.com/index2.php (http://www.uniqueego.com/index2.php)

Why isn't the command fetching the requested page?

I'm sure it's wrong or something?

Thanks.

Make sure its saved as .php for starters and if your using frontpage DONT copy and paste this..


<?php
include('news/news.php');
?>

Click 'code' and find where you want the news to display and THEN copy and paste it.

Unique!
17-04-2006, 08:10 PM
Where's code?

Thanks :)

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