Jump to content

Parse error, unexpected T_OBJECT_OPERATOR


g_p_java

Recommended Posts

Hello i have the following code

 

$out = db_fetch_row($q);
$new_array = array();

if($out[1] != NULL)

            $new_array = explode(" ",$out[1]);   #I GET THE ERROR HERE!!! WHY???
else

           #do nothing 

 

I get the following error Parse error, unexpected T_OBJECT_OPERATOR

 

Thanks, in advance!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.