Richard Posted February 10, 2008 Posted February 10, 2008 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? Quote
Aqua Posted February 10, 2008 Posted February 10, 2008 Re: Need Help Well this may sound stupid, but do you have jail installed ? Quote
Richard Posted February 10, 2008 Author Posted February 10, 2008 Re: Need Help Yeah, The crimeFAIL is the amount of jail time for each crime... Quote
Richard Posted February 10, 2008 Author Posted February 10, 2008 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 Quote
YoungGold Posted February 10, 2008 Posted February 10, 2008 Re: Need Help sorry but this is not a free modification. Quote
Richard Posted February 10, 2008 Author Posted February 10, 2008 Re: Need Help Good Point, I'll go to another section Quote
Klikoka Posted February 10, 2008 Posted February 10, 2008 Re: Need Help i think it needs to be {$r2['jail']} Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.