2 Warnings
How do I remove the warnings on line 25 and 28. Its both loose indenation
PHP Code:
|
Re: 2 Warnings
Quote:
|
Re: 2 Warnings
I said warnings not errors. My bad I must of had the wrong code in.
|
Re: 2 Warnings
To prevent loose indentions, use only tabs or spaces to indent your code.
|
Re: 2 Warnings
loose indentation is due to the misalignment of the code:
loose indentation: PHP Code:
no warnings: PHP Code:
|
Re: 2 Warnings
Quote:
|
Re: 2 Warnings
AMXx Studio --> Tools --> Identer
Fixed. |
Re: 2 Warnings
Lousy way to fix indentation. Not that reliable either.
Simply put: Use ONLY one of the following; Tabs or multiple spaces. Using it consistently and not mixing them, no errors (warnings) will occur. |
Re: 2 Warnings
Ok thanks. For some reason when I copied the code I posted here into the sma it worked. Must of been something wrong idk.
|
| All times are GMT -4. The time now is 19:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.