PDA

View Full Version : Radio Stats...



samuelb07
17-03-2008, 08:13 PM
I need to display the radio stats on my page,
I have tried <? ("file.php") ?> but it isn't displaying anything.

If anyone could help me with this that would be great.

Someone told me you could do it with iframes but I am noobish with that sort of thing. I really need help.

Please reply to this thread if willing to help for free. Ty :)

P.S. I have the radio_stats.php, config_radio.php and offline.gif ready :)

d17c
18-03-2008, 01:00 AM
<?php

include("radio_stats.php");

?>
?

Purposeless2
18-03-2008, 01:28 AM
I need to display the radio stats on my page,
I have tried <? ("file.php") ?> but it isn't displaying anything.

If anyone could help me with this that would be great.

Someone told me you could do it with iframes but I am noobish with that sort of thing. I really need help.

Please reply to this thread if willing to help for free. Ty :)

P.S. I have the radio_stats.php, config_radio.php and offline.gif ready :)

Yeah dude you forgot the include before the "(" :P just putting the file name in like that doesn't tell php what to do with the file, so its not gonna do anything

samuelb07
18-03-2008, 06:57 AM
Oh yhh :). I'll try it and if it still doesn't work i'll edit this post :)

samuelb07
18-03-2008, 08:43 PM
Couldn't edit and it didn't work.

d17c
18-03-2008, 09:24 PM
Is the file extension .php or .html?

samuelb07
21-03-2008, 09:15 AM
Is the file extension .php or .html?


.html is the pages file extension

MrCraig
21-03-2008, 10:33 AM
How can you code radio stats in html :S?

d17c
21-03-2008, 11:53 AM
.html is the pages file extension

Change it to .php then include the radio stats file:

<?php

include("radio_stats.php");

?>

samuelb07
21-03-2008, 03:04 PM
Thanks a bunch! +rep to d17c

samuelb07
21-03-2008, 07:35 PM
couldn't edit and sadly my +rep box isn't coming up :(

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