Hey guys, I'm trying to get something to show differently in one of my scripts. I'm trying to make it so that people that are a certain rank in my game will have their names show up bold in the users online. so I figured it would go like this:
Code: mysql_query("SELECT * FROM users WHERE username='$username'");
$rank=$rows['rank'];
$rankpoints=$rows['rankpoints'];
if($rankpoints>=50000){
echo '<b>$rank</b>' ; }
Is that right? Because normally when they hit this certain rank, it updates their rank in the database to RANK. However, when viewing users online, it doesn't show it. Anyone know why? Either way, I would like for them to get their names in bold.
How to clone an SAP ECC using bacup tape on z/os?
We want to clone our production to a different SID using backup tape.
Hardcopy printing is to wide
I want to make a hardcopy at runtime of my active form like this
calculator
I can't figure out why this code doesn't work. No error messages. Page loads.Code: <?php # Script 3.9 - calculator.php$page_title = 'Widget Cost Calculator';include ('./header.html');function
Agency Business Process
Hi,
include function being weird?
I have a very simple system to grab an IP outputted by a PHP file.. (for a project I have) but it outputs a 1 at the end!!<form method="post" action="<?php echo
Array becomes unset by itself?
Hi,I have a bit of experience with PHP but not extensive. It seems I cannot store any items to the array $details. The class:class Newsletter {public $details = array();function Newsletter($id)
problem when runing a funciton
I am trying to connect to database using a funciton in a functions.php <?phpfunction connect_db_Blog (){ $con=mysql_connect("localhost","root","");
Disable html within defined tags
I have a mysql database that allows users to enter content with html, but I also want to have a tag that will disable the html between it for example:<a
MySql timezone
Code: $sql = "SELECT *, date_format(date, '%m/%d/%Y at %I:%i %p' )as date FROM comments WHERE tutorialid='1' ORDER BY commentid DESC LIMIT $offset, $rowsperpage";Can I change the timezone
IF STATEMENT HELP
Hii have created a calendar from a table:Code: Calendar: October 2009<table width=300 border="1"><tr><th><a