foreach result into a single variable


Posted on 16th Feb 2014 07:03 pm by admin

Hi,

I have this code...

Did you know?Explore Trending and Topic pages for more stories like this.
Code: [Select]foreach ($_POST['Interests'] as $interest => $value) {
echo "Interests: $interest; Value: $value
";}
How do I store the multiple results in a single variable?
No comments posted yet

Your Answer:

Login to answer
329 Like 54 Dislike
Previous forums Next forums
Other forums

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

links using header()
Hi All

I'm not sure where to ask for help on this but I hope someone can offer some. I'm at

Load file in PHP
I have 2 files. The first is a PHP generated XML file that's dependent by 2 inputs. The second is a

preg_replace question
Hello!!

I hope someone can help me with preg_replace.

I load two tables from an extern

Php - mysql select?
hi, i have this code:

Code: <?php
session_start();
// dBase file
include &quo

sapgui f4 help last search
I know this has to be simople. One user (maybe more) does not have the "last search saved" from the

Displaying data from database into a 2 dimensional table
Good day!

I'm a beginner in PHP and I'm not expecting a full coding for this qestion. I'm jus

Passing JS to PHP
So I have the following
Code: <?php
getdetails(?><script type="text/

Array to string conversion
Can anyone help me with this?

Notice: Array to string conversion in /home/..../index.php on l

Writing to the middle of a file
Hi I have a bit of a problem. Is there any way i can write some text to a middle of a text file. For

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