How to convert this array to string

Posted on 16th Feb 2014 01:33 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

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

Quick variable question
hey guys/gals,
im trying to write a php script and it works fine as i have it, but i need to set

Web Host List
Here is a list of web hosts that offer PHP and MySQL. It is no where near a full list, but it is mos

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
what is wrong with this

Code: [Select]<?php

Php navigation
I have four buttons on a php page.
If i click a button it will redirect to different php pages.

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS