Jump to content


Photo

Another noobish question.


  • Please log in to reply
2 replies to this topic

#1 Dogboys

Dogboys
  • Members
  • PipPipPip
  • Advanced Member
  • 44 posts

Posted 21 May 2006 - 11:34 PM

(If $find >= 5) {give 3 $gold}


How would i do that in a php sentence?

#2 neylitalo

neylitalo
  • Staff Alumni
  • Advanced Member
  • 1,854 posts
  • LocationMichigan, USA

Posted 21 May 2006 - 11:36 PM

if($find >= 5)
{
    $gold += 3;
}

http://nealylitalo.net - My personal website, and home of The Netizen's Journal.

#3 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 22 May 2006 - 12:35 AM

You really need to go and read [a href=\"http://www.hudzilla.org/phpbook\" target=\"_blank\"]this[/a].




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users