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

PHP Search Issue
Hi, I am using the following code to search and return flights from a database. The user searches by

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

Simple Variable Question
Hi everyone.... again,

I am really getting into php still. Learning more every day. I love it

reating a background image
I am building a site in drupal and have a php form in it, due to certain annoyances with module buil

Forum tutorial
Im a beginner in PHP. Im making a forum(previous questbook, counter and few others) to learn. For no

Using two $_POST Function / Switch () statements, second does not work.
Hi all. I’m new to php and am having a problem getting $_POST Function / switch () to work. I

need help modifying script
Hi guys,

I'm fairly new to php and am having a bit of trouble modifying a script.

This

How to give the privillege for triggers?
Hi,

How to give the privillage for triggers to particular user?

Please let me

Weird MySQL error, why am I recieving this?
PHP Code:


<?php require "global_settings.php"; ?>
<titl

Javascript using window.location seems to lose state
Not sure what forum so let me know if I'm in the wrong place. I have a main window with a ajax grid

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