scope issue?

From: Date: Sun, 10 Mar 2002 17:14:56 +0000
Subject: scope issue?
Groups: php.general 
Request: Send a blank email to php-general+get-87911@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have the solution to my problem here but can't see why i need it? this snippet takes $AuthId from a form and but does not work (doesn't seem to pass it to the function) case "edit": $tips->get_author($AuthId); $content=edit_author_form($tips->auth_id); break; but this works fine... case "edit": $id=$AuthId; $tips->get_author($id); $content=edit_author_form($tips->auth_id); break; Why? Many thanks.... - -- - ----------------------------------------------------------- www.explodingnet.com | Projects, Forums and + Articles for website owners - -- Nick Wilson -- | and designers. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD4DBQE8i5SQHpvrrTa6L5oRAuh7AKCmdRmslIv+sexSyW+vtuad8flu0wCXYaKt bjROMlsgU5XtiZ2ewhybJQ== =6ZTA -----END PGP SIGNATURE-----

« previous php.general (#87911) next »