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

Class not found error
I am getting Class 'index' not found in Eval function:

//write config

$pat

php slowing my site?
Hi all,

I think that one of the reasons that my site doesn't work fast is that the code is ve

this code is not working????
it says this error.. Warning: Division by zero in ..

the variables are correct, so why is th

Dynamically allocating the number of rows in a table based on a variable value
Hi,
I have situation here which i cannot resolve, I have a variable temp which stores the num

insert/update functions for mysql, what do you think?
I am working on two really simple functions that automatically generate (and execute) insert and upd

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

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

getting most records by count
Code: [Select]<?php

$connect = mysql_connect("localhost","dam

Access database inside of a validation class
Hello,

For quite some time, I have been using functions to validate form input and access the

Comparing Values
Hi
I'm reading data from a database and this seems to work OK.

Each system has an associat

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