Jump to content
MakeWebGames

Recommended Posts

Posted

Ive tried to add a column to my Crimes Page called Jail Time, I tried this:

if ( $r2['crimeFAIL'] < 1 )
{
$jailtime="<font color=green>None</font>";
}
else
{
$jailtime="<font color=red>{$r2['crimeFAIL']} Mins</font> ";
}

 

It just says None for all crimes, can anyone help?

Posted

Re: Need Help

I can easily get it to say the amount of jail time for each crime, but I wanted for each crime with 0 jail time, for it to say 'None' instead of 0 Mins

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...