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
(
[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

Log $_POST
How would i log submits on a form, by everyone? I want to then echo the number of submissions.

Collecting AOL Search Terms
I am attempting to collect AOL search terms. I know the code is correct (it works for google, bing,

j1inmis Ouput layout changes
Hi,

Can anybody tell how can j1inmis output layout can be changed so that vendor names ge

"SEO" URLs
Hey, I'm wondering how to go about creating and using these types of URLs. I'm presuming it's PHP th

Using the $_GET variable to view certain records
Hello,

First let me explain my problem, I have 2 pages the first page pull a list of Guide ti

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

Struct/union and scope problem!
HI all , I have
Code: in header.h typedef struct Node Link; /* ---------

phpmailer class & pop.gmail.com?
Code: <?php
$mail->IsSMTP();
$mail->Host = "pop.gmail.com";

writing a screen scraper
Hello,

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

whats wrong with my code please help!!!
this is the error


Warning: mysql_close(): supplied argument is not a valid MySQL-Link res

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