![]() |
Nesting Statement?
Does the elseif statement work as a nesting statement? Here is an example it is nothing just showing kinda what i mean.
PHP Code:
|
The answer is yes.
if can be used after else but they're not joined like you're doing. PHP Code:
|
Thanks i wasn't sure if it was true. Because i know in Visual Basics it works like that and makes things easier = )
|
Actually nesting is like this:
PHP Code:
PHP Code:
PHP Code:
|
All times are GMT +2. The time now is 10:41 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.