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

169 Like 45 Dislike
Previous php-forum Next php-forum
Other php-forum

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

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

Warning: mysql_num_rows() supplied argument is not a valid MySQL result resource
This may be simple I just may need another pair of eyes..

When i get records back the below c

Mail from PHP form not always ending up in my inbox?
Hi guys,

I'm a real newbie to PHP and have managed to put together a simple mail form that se

Select all entries from database that include a phrase
I have a database of clubs - one of the categories is meeting time and place
I would like to have

need help in creating captcha
hi i have a problem creating captcha system. i create some basic script for image displaying but it

how can i display php source code snippets ?
I am outputting some pho code .. and I want to display the source code so people can copy and paste

Problem with an browser game.
Hello,i just joined that great forum and i got php prob,its kinda freaky...anyway i got browser game

help with this code please?
Hello,

I am trying to build a remote upload script for my image hosting site.

I am usi

Tracking Unique Clicks
Hi guys and gals,

Basically I have a database which tracks clicks on my outbound links, I do

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