EXAMPLE:
Code: Select all
<?php
include_once 'connect.php';
?>
<?php
$bypass = 0;
$playerinfo="SELECT * from players where name='$player'";
$playerinfo2=mysql_query($playerinfo) or die("could not get player stats!");
$playerinfo3=mysql_fetch_array($playerinfo2);
$playergold = $playerinfo3['gold'];
$playerlevel = $playerinfo3['level'];
$playerexp = $playerinfo3['exper'];
$playername = $playerinfo3['name'];
$playertribes = $playerinfo3['tribes'];
$playerlocation = $playerinfo3['location'];
?>
<link rel="stylesheet" href="gpack/inside.css" type="text/css" />
<div class="Standard">
<ul class="Standard">
<li class="Standard">Username: <?php print $playername; ?></li>
<li>Level: <?php print $playerlevel; ?></li>
<li>Pengalaman: <?php print $playerexp; ?></li>
<li>Suku: <?php print $playertribes; ?></li>
<li>Lokasi: <?php print $playerlocation; ?></li>
<li>Jumlah Emas: <?php print $playergold; ?></li>
</ul>
</div>
My question, is how to formatting the text inside the <?php print $variables ?> ??
Format the $variables, like font colors, size, etc
Thank you for help me out....
I will put [SOLVED] on the title if this problems solved
