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

Change snippet to use CURDATE
I am using time() in the snippet below, I would like to use CURDATE() and have the database setup fo

multiple recipients + dbuser mail recall
Hello,

I am building a php login script.

When the user registers the script will send

Consuming third party Payment Gateway API from Procedure.
Hi All,

First of all i would like to thank all the people of the oracle forum for providi

Sum of Values in an Array
This is probably really simple... but it's been years since I've written anything, so bare with me!<

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

Namespace Problem
I'm having problem with a section of code with a variable namespace.

This code works fine:

Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string

Trying to add functions to table
I have this list of characters and I'm trying to figure out what I have to do to put the results of

ORA-01017: invalid username/password; logon denied
Dear All,

I am facing problem in taken backup from db13 it comes up with the following l

Images in email problem
I found this script for sending emails, it works but if the email has <img src="image.jp

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