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

Displaying data from MySql a different way
Hi all,
I'm pretty new to php and MySql and have hit a problem.

I am able to display data

UTL File problem
Hi
I have a file in certain path with the following permissions (The file is a dummy file witho

writing a screen scraper
Hello,

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

Reduce redundancies in switch functions?
Hello all! I somewhat new to PHP, and was wondering if anyone could give some suggestions on a swit

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

problems with script
I made a small script wich exchanges points in my website:


<?php
session_start

mysq_num_rows
Hi,

I want to use:

Code: if(mysql_num_rows($ergebnis2)==2)
how can the value 2, be

array ...
hi
Code: function formatCategories($categories, $parentId)
{
// $navCat stores all child

foreach and array need help combining
Hi guys.

Here's the code

Code: array(
'tag' => 'code',<

DOMDocument
Hello All,

I need to take an XML document, modify some of the nodes in it and then perform a

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