Re: I encounter parse error, help me.
| From: | php3 at developersdesk dot com | Date: | Tue, 04 Jul 2000 05:33:54 +0000 |
| Subject: | Re: I encounter parse error, help me. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4676@lists.php.net to get a copy of this message | ||
Addressed to: "Myong-Uk Kim" <saram34@intizen.com>
php-general@lists.php.net
** Reply to note from "Myong-Uk Kim" <saram34@intizen.com> Tue, 4 Jul 2000 12:21:34
+0900
>
> My code is followed.
> -------------------------------------------------
> function GetBlob($id) {
> Global $ART_BODY_XX="";
> . . .
> }
> -------------------------------------------------
>
> I don't know why Global and initiate variable is wrong...
You can't set a value in a global declaration.
Try this...
function GetBlob($id) {
Global $ART_BODY_XX;
$ART_BODY_XX="";
Rick Widmer
Internet Marketing Specialists
www.developersdesk.com