Jump to content

[SOLVED] ElseIf


gevo12321

Recommended Posts

so i was wondering if the if statement and the else if statement can be about different variables. for example can i say if the room is green then something, else if the chair is green, then something, else something else. so for the if and else if, do they both have to be the room, or both have to be the chair or can they be different variables?

Link to comment
https://forums.phpfreaks.com/topic/136714-solved-elseif/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.