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

undefined offset help
Hi All,

I kept getting undefined offset PHP notice for a simple for loop. For eg
$va = arr

Deleting pointers froms vector?
Hi. I have a vector filled with pointers and I want to delete the pointers. I could do a loop and do

webpage with (simple) login & mysql-db
Hi all,

What I was looking for before was a multi-user password manager, web-based! The offer

Do something every fifth time?
I'm trying to write a loop, but I want it to do something different after every fifth instance. Like

preg_replace question
Hello!!

I hope someone can help me with preg_replace.

I load two tables from an extern

button help
i originally had this but realised it is much easier to have a button.

Code: <?php

pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the n

Get last modified date of web page
Hai All,

In php how can i get last modified date of a give web page . I have tried to g

highlighting search terms
well, I started this in the regular PHP section, but it no longer fits there. Suffice it to say, I'm

A href problem under php
Hello...

I tried to explain the issue in an earlier post.. but was not clear enough....

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