if ... then in PHP ?? - 04/29/2002 9:14 AM
hi.
i've al little problem (again ) but this time REALLY in PHP.
[code][/code]so the Row "Status" is a MySQL DB Row.
I Want
if $row["Status"] = 1 then echo "Active" else echo "Inactive"
But I'm not a good programmer (i only know include in PHP ), so could anybody help me ?
@LK If this is the wrong fourm again, so no fear to move
thanks.
i've al little problem (again ) but this time REALLY in PHP.
[code][/code]so the Row "Status" is a MySQL DB Row.
I Want
if $row["Status"] = 1 then echo "Active" else echo "Inactive"
But I'm not a good programmer (i only know include in PHP ), so could anybody help me ?
@LK If this is the wrong fourm again, so no fear to move
thanks.