rash799 Posted November 9, 2009 Share Posted November 9, 2009 HiI aplogise for asking such a basic question but I cant find the answer anywhere. I want to print the contents of an array but it is displaying array??? Below is the code I am using: $aaa = array("something", "something else");echo($aaa); Can anyone help??? Link to comment Share on other sites More sharing options...
justsomeguy Posted November 9, 2009 Share Posted November 9, 2009 print_r($aaa);orvar_dump($aaa);or echo implode(',', $aaa); Link to comment Share on other sites More sharing options...
rash799 Posted November 9, 2009 Author Share Posted November 9, 2009 Thanks a million justsomeguy The implode example was the one that I was looking for Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.