I have a script, the code isBut when I go to the page it displays a blank page instead of my PHP Counter! OMIGOSH! Why Help PlsPHP Code:<?php echo(""); ?>

I have a script, the code isBut when I go to the page it displays a blank page instead of my PHP Counter! OMIGOSH! Why Help PlsPHP Code:<?php echo(""); ?>
That won't count your script. That just shows an echo.
OK let me help j00.
OK pl0x u need to learn php thnx you sad child.
Thanks,
Danny
Last edited by Luckyrare; 03-08-2006 at 09:40 PM.
thats not a full code. so it wont display annything
thats becuse all that code is doing is saying write "", which is nothing.
Try this as a counter
Remove the // on the last line if you want the count to be read out therePHP Code:<?php
$document = ("myhits.txt");
$hits = file($document);
$hits[0] ++;
$fp = fopen($document , "w+");
fputs($fp , "$hits[0]");
fclose($fp);
// echo $hits[0];
?>
sorry about me spamming ive pmed sierk about the problems i was having with the mod
Erm thread closed? This is obviously spam.
Want to hide these adverts? Register an account for free!