GOT IT!
Took me a few days, but I finally got it. It probably would have been easier if I knew more about PHP, lol.
Anywho, Just toss this before </BODY> in the footer page of your site if you use a header and footer and it will log each page as its name instead of having to type in the name in the IMG URL:
<?php
$nom = trim($_SERVER['PHP_SELF'],".php");
$finnom = trim($nom,"/");
//print ($finnom);
print ("<img src='statistics/stat.php?idnews=$finnom&posted=2005:03:24' width='1' height='1'>");
?>
Improvements are welcome as I'm sure they could be made, but this works FINE for me.
VICTORY!
-=The Prynce |