[ SOLVED ] FormatEX?
How to add new parameter settings in formatex?
Code:
Example: Code:
|
Re: [ HELP ] FormatEX?
What? formatex() is the same as format() with the exception that you can't use the destination as one of the arguments.
Have you tested your code? |
Re: [ HELP ] FormatEX?
No, idk the meaning of : and ? in the code.
|
Re: [ HELP ] FormatEX?
its a short form of if and else perhaps
|
Re: [ HELP ] FormatEX?
But which is the if, else, else if?
|
Re: [ HELP ] FormatEX?
PHP Code:
PHP Code:
|
Re: [ HELP ] FormatEX?
This is called a conditional operator, inline if (iif), or ternary if. See here: https://en.wikipedia.org/wiki/%3F:.
|
Re: [ HELP ] FormatEX?
And for else if? : ? or ?: or dont need?
|
Re: [ HELP ] FormatEX?
Quote:
Code:
if( condition1 ) |
Re: [ HELP ] FormatEX?
Hmm, Thank you for your help :fox:
|
| All times are GMT -4. The time now is 17:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.