Hi !

Anyone to gimme a hand ?

I'm not used to PHP. Much better at Coldfusion.
What would be the PHP code for the following ?

if "X" ≥ 1 and "X" < 3
set variable "D2"

if "X" ≥ 3 and "X" < 5
set variable "D3"

if "X" ≥ 5 and "X" < 11
set variable "D4"

if "X" ≥ 11
set variable "C1"

if "X" is undefined
set variable "C1"