Jump to content

Array question


graham23s

Recommended Posts

Hi Guys,

 

when i try out and this code:

 

        $array = array($nsubject);
        
        echo $array;

 

i get:

 

ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray

 

but if i just echo out $nsubject i get the proper data echoed i take it the above is wrong if it echoes out the word array?

 

cheers

 

Graham

 

 

Link to comment
https://forums.phpfreaks.com/topic/68594-array-question/
Share on other sites

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.