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 Tab Control
Hi All,

I would like to have PHP tab control with/without Javascript.

But I want to r

captcha error
I have been trying to implement a captcha in php...

here is the code..
Code: (php) [Select

duplicate record notification
In my database, after insertion of records, I want to know if the record inserted is duplicate or no

adding 0 to numbers
Hey guys i need to create a 00001 number in a loop. Is there a better way of forcing a 5 digit numbe

Mail Script Problems
I have created a PHP mail script. I am having a problem though. In $body i am trying to put two va

writing a screen scraper
Hello,

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

Getting a variable to work in function params
I have this fuction which is inside a class:

Code: public static function generateEmbedCode($

Using unserialize()
Hi there.

I have some data in my database that is serialized.

e.g.

a:2:{i:0

php or sql?
Sorry not sure if this is a sql problem or php the following code is supposed to delete data from th

script is pulling more then they have....
I have this script for my game where they can change there race. This will cost them 2,500 points. H

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