![]() |
|
|
+ Search |
![]()
|
Jul 16th, 2001 11:59
Rich Cavanaugh, Alain de Nemours,
The % is used in the various printf() functions. It's used to format text. See http://php.net/manual/en/function.sprintf.php that describe this syntax. for example: <?php printf("%01.2f", 1234.1234); ?> will output: 1234.12 The ? is the ternary operator and is described on http://php.net/manual/en/language.expressions.php for example: <?php echo ((TRUE)?('true!!!'):('false!!!')); ?> will output: true!!!
| Faqts.com brought to you by PowWeb Inc. |