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

Cannot Display Array from Select Statement + Login question
Hi,
I'm new to PHP but so far so goog. I was assigend a project and I'm very close to completion.

How to implement HTTP connection timeout
Hi All,I would like to implement an HTTP connection timeout.

I am working on a application wh

PHP code needed to get/post form fields and request mysql query results.
I'm new to PHP

I've created an html form to allow the user to request a basic telephone dire

extract a file from zip file
hi,
i know how to unzip a zip file in php, but is there a way to just extract a certain file only

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

login and redirect
hello! can someone help me.. can you give me an idea.. I want to make a login page and redirects it

Shuffle between users ??
I have multiple $users in table. I need to send them $message.

I need to send the next messag

Price in PR
Dear Experts,
Why we have to enter the price in the PR, and why there is no free goods indicato

Character Set Setup
Whats the best character set to use if you want every character to work, and also how do you make yo

Losing 'page' data
I have this code that allows me to update my database. But after updating, I lose the $_GET['page']

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