PHP n00b needs help
PHP n00b needs help
- Started
- Last post
- 4 Responses
- pcas
i have a variable called "c21"
this "c21" variable either equals 'a' or 'b'.
What I want to do:
if c21 = 'a' then echo 'yay'
if c21 = 'b' then echo 'nay'^what's the exact code to do this.
any help muchly appreaciated!
thanks in advance!
- Mick0
emailed ya in ya gmail :)
- pcas0
thanks a bunch mick that was exactly what i was after :)
and thanks for the resources protoculture & ddefenba :)