RE: [PHP] ? : where in the manual?
| From: | Jack Dempsey | Date: | Tue, 10 Jul 2001 16:25:55 +0000 |
| Subject: | RE: [PHP] ? : where in the manual? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57196@lists.php.net to get a copy of this message | ||
www.php.net/empty
www.php.net/header
the x ? Y : z; form is a quick n easy structure that works like if/else
do a search for classes and objects for the $CFG->wwwroot part
jack
-----Original Message-----
From: Rehuel Lobato de Mesquita [mailto:rehuel@cq-link.sr]
Sent: Tuesday, July 10, 2001 12:16 PM
To: php-general@lists.php.net
Subject: [PHP] ? : where in the manual?
Heya guys,
I am trying to find information in the manual to explain these lines:
$goto = empty($SESSION["wantsurl"]) ? $CFG->wwwroot :
$SESSION["wantsurl"];
header("Location: $goto");
die;
Can anyone tell me where to look???
Thanx
--
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