One hint I found once when you get that is to change the heaeder into an include ... works the same.

One hint I found once when you get that is to change the heaeder into an include ... works the same.
Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
[Thybag.co.uk - Vive la revolutione]
your code is exactly the same as mine, i use mine as an admin area were you can create users when your logged in, add news, add affiliates, update your profile, PM other admins
im still testing out some features though![]()
*Image Removed
Ahemm.. How exactly was my sig innapropriate?
Goddamit i hate this forum :@
I RESIGN FROM GRAPHICS DESIGNER :@ :@ :@
LMAO cool i guess
---
Bump ^_^ Need more help
Ok i sorted that above out Wooteh
I tested it, it all works FINE! But... when a eror comes 'Username has aready been sued' it comes up in top left hand corner of iframe over my text any way of moving it?
----------------------------- another error ROFL!
Ok i have now made a stats page :0 here is the error :
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/extreme/public_html/login/stats/stats.php on line 26
Fatal error: Call to undefined function: odiv() in /home2/extreme/public_html/login/stats/stats.php on line 40
here is content :
PHP Code:<?php
// set your infomation.
$dbhost='localhost';
$dbusername='****';
$dbuserpass='****';
$dbname='****';
session_start();
// connect to the mysql database server.
mysql_connect ($dbhost, $dbusername, $dbuserpass);
mysql_select_db($dbname) or die('Cannot select database');
?>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<?
echo "<tr>
<td width=\"20%\"><b>Date:</b></td>
<td><b>Unique Hits:</b></td>
<td><b>Page Hits:</b></td>
<td><b>Most Users Online:</b></td>
</tr>";
$query = "SELECT * FROM daystats order by id DESC LIMIT $limitvalue, $pp";
$result = mysql_query($query);
while($r=mysql_fetch_array($result))
{
echo "<tr>
<td width=\"20%\">$r[date]</td>
<td>$r[u]</td>
<td>$r[p]</td>
<td>$r[peak]</td>
</tr>";
}
oDiv("Totals");
$averageperday = round($totalh/$total);
echo "Unique Hits: $totalh<br>Page Views: $totalpages<br>Last Reset: $since<br>Days Recorded: $total<br>Average Hits Per Day: $averageperday";
?></table>
Last edited by :Woof; 04-08-2005 at 06:16 PM.
LOL php nooby.
Errr shut the **** up will you?
Thank you.
y not contact the author on hu wrote the tutorial. theres always an email there :p
My sites
Mangacars.co.uk
Ppxgames.com
Uploadforfree.NET (EXPIRED)
PixelLoft.NET
Css-Gyro.com
Neonfusion.NET
[Zainx / Lofty]
Zainx i havent used a tut for that abovethat is what i have done cant u tell my the errors ROFL!
so u and exignma just happen to share the same brain as he sed: O your code is exactly the same as mine.
hmmm
My sites
Mangacars.co.uk
Ppxgames.com
Uploadforfree.NET (EXPIRED)
PixelLoft.NET
Css-Gyro.com
Neonfusion.NET
[Zainx / Lofty]
lmao i said i havent used a tut for that abovenoob. read and reread then post
![]()
Last edited by :Woof; 04-08-2005 at 06:43 PM.
Want to hide these adverts? Register an account for free!