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

How do I get the row number from from an sql table query
Hi all

I have a table that I query and it returns a number of rows.
mysql_num_rows($query)

Performance impact of cookies
Hi, I was just wondering what impact there would be in terms of performance if you where to set then

Read from forum
Haven't written anything forever and I would like to get back.
What I'm trying to do is getting t

help with insert
Hi there,

I am trying to insert some data into a database, but for some reason, it is not ins

Echoing ASCII code
I have a php page that splits a string into chars and then echoes the ASCII code for each char. I'm

Having Problem with Date
l have a submit buttom where user have the possibility to add a date to specify when his message s

Images outside webroot
Im hopeing someone can help me with this because i cant figure it out.I have setup an ASP.NET websit

distinct rows
Hi
version 10.2.0.3

I have a query output something like the following

ID

quick question about System Change Number(SCN) in FlashBack Query topic
i know tht we can get the SCN of the database using flashback concept as follows

SQL>

natcasesort works on one server but not on another
Hi

I have a problem that I was hoping that someone can help me with.

I'm trying to use

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