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

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

LSB (PHP 5.3) problem with static value!
hello,

i'm having a problem. static::$text variable gets lost at some point. can someone plea

Saas with SAP R/3
hi experts,

Is SaaS offer available in SAP? for SAP R/3? from where i can get the info a

Must-Know Topics of PHP
Can you guys list the must-know topics of PHP. I am still a learner and I am trying to cover most of

Help with search.php
Hello All

I need the search engine on a site I am building at the moment to display the searc

Converting from one format to another
"I have got a date in DD/MM/YYYY but I need it in MM-DD-YYYY. Help!"

Weird Problem with curl while sending data
I am facing a weird problem with sending data to a site via curl.

If i send the value by this

Custom array sort? asc then desc
Any ideas how I could sort this array? I've been trying for a while. Maybe with usort, but I have no

Else statement screws up all css
Does anyone know what goes wrong in the process with this php code?
This code seems to be causing

Transform value 0 in no and 1 in yes help needed
Hello,
I have this in the table: "value" type int 0 to represent false and 1 to represe

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