Re: PLEASE SIGN-ME OFF !
| From: | Kurth Bemis | Date: | Wed, 16 Jan 2002 14:25:32 +0000 |
| Subject: | Re: PLEASE SIGN-ME OFF ! | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80702@lists.php.net to get a copy of this message | ||
At 08:17 AM 1/16/2002, treiger wrote:
maybe if you wern't totally retarded you read the footer of this email and EVERY other email that passed through this list.
~kurth
PLEASE SIGN-ME OFF ! I've sent already all emails requested to sign-me off this list, but I keep receiving emails!!!! Sergio Treiger ----- Original Message ----- From: "Stefan Rusterholz" <scripting@interaktion.ch> To: "Dani" <universal2001@iprimus.com.au>; <php-general@lists.php.net> Sent: Wednesday, January 16, 2002 11:09 AM Subject: Re: [PHP] CONTINUE - variable problem - help! whoops, typo: echo (isset($row["somename_$var"]) && $row["somename_$var"] !== "") ? $row["somename_$var"] : "Sorry, but \$row[\"somename_$var\"] is not set."; above code should be correct :) (notice: it's only 1 line - email could display it on multiple lines). and here a smaller explanation of the ternary operator (?:): echo (condition) ? "condition is true" : "condition is false"; if conditions evaluates to true then PHP interprets it likeecho "condition is true";elseecho "condition is false";best regards Stefan Rusterholz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net