foreach result into a single variable

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


I have this code...

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

Export hangs
Hi all, please help

I have a Oracle database. When I want to query the dba_segmen

rdns with php
I am trying to build a script that will show all of the different domains that are hosted on the sam

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

Get word number x from string?
How can I use a function to loop through a string, and "have a look at" every word in the

PHP and MySQL on intranet?
Is it possible to use both these on an intranet network?

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