Page 1 of 1

explode is printing Array

Posted: Wed Feb 14, 2007 8:48 pm
by psychotomus
with the code below, it print Array to the webpage. how do I fix?

Code: Select all

$tags = explode(",",$line['m_tags']);

Posted: Wed Feb 14, 2007 8:50 pm
by nickvd
Perhaps you should read the manual page for the function you are using...

Posted: Wed Feb 14, 2007 8:54 pm
by psychotomus
found the problem i had <?= explode and it printed array i removed the =

Posted: Wed Feb 14, 2007 8:57 pm
by nickvd
That would also be a potential cause :)