Forum Moderators: open

Message Too Old, No Replies

If value is null {}

If a value is not set or null...

         

JAB Creations

3:01 am on Jun 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The last else statement needs to work if no value or the value of null is found. How do I implement this correctly?


if ($theme = "classic")
{
document.writeln('classic');
}

else ($theme = "matrix")
{
document.writeln('matrix');
}

else ($theme = "null")
{
document.writeln('null');
}

JAB Creations

5:09 am on Jun 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I get to answer my own question, gotta love that...

elseif ($theme == null) {}