How to convert this array to string


Posted on 16th Feb 2014 07:03 pm by admin

I am having problems converting this array to a string
using print_r($val[1]); I get:
Code: [Select]Array
(
Did you know?Explore Trending and Topic pages for more stories like this.
[0] => Array
(
[name] => John
)

[1] => Array
(
[name] => Dan
)

[2] => Array
(
[name] => Jim
)
)
I have tried several methods but they don't work
No comments posted yet

Your Answer:

Login to answer
169 Like 45 Dislike
Previous forums Next forums
Other forums

Array becomes unset by itself?
Hi,

I have a bit of experience with PHP but not extensive. It seems I cannot store any items

PHP XML extraction text
I would like to extract an xml text and have that text directly echo(print) out on my web page. Her

Populate drop down list from table??
Lets say for arguments sake that i have a table which contains the numbers 1 to 10.
How can i get

PHP/PKI
I am trying to set up a web application that uses pki. does anyone have a good tutorial to set this

pageination not working right... coping images over 4 pages
Code: <?php //This code will obtain the required page number from the $_GET array. Note that

set xml path in flash when xml created in memorystream and webrequest
i am creating an xml file using memory stream and i want to load this xml file into the flash on cli

Printer configuration
Hi All,
Suppose one of the user deleted the printer settings unfortunatly ,then what is the pro

get multiple rows
Hi I want to get multiple rows from a db

I am using this for the db query
Code: public

Collecting AOL Search Terms
I am attempting to collect AOL search terms. I know the code is correct (it works for google, bing,

Image loading
Hi Developers,

I'm trying to display an image from images/image.gif getting the url from mysq

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash