2013-02-19, 09:37 PM
Hello I have a small problem with my self written Php Level Script.
This is the Html in the postbit_classic template:
I want thamy php file should be displayed in the title ofthe image as a tooltip.
Here is the php file:
I hope somebody can help me
Can somebody help me ?
This is the Html in the postbit_classic template:
<img class="star" src="http://code-star.at/forum/stars_img.php?id={$post['uid']}" alt="" title=""></img>
I want thamy php file should be displayed in the title ofthe image as a tooltip.
Here is the php file:
<?php
$id=$_GET['id'];
$gesamt = 9000;
include("connect.php");
$query=mysql_query("SELECT Exp FROM mybb_users WHERE uid=".mysql_real_escape_string($id));
$array = mysql_fetch_array($query);
$prozent= ($array / $gesamt)*100;
echo "Level: ".round($prozent, 2)."%";
?>
I hope somebody can help me
Can somebody help me ?