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

A rank users order by points
I want to make an insert from table 'rank' , with number (rank) from the cod blow, to fild users.ran

Multipe Dynamic Controls & AutoPostback Issue
I currently have a need to create many dynamic controls (Example Textboxes) that need to do a PostBa

problem with php server update from mid 2009
Hi,

I have this navigation menu on 2 websites which used to work just fine. After a recent up

PHP & Images [Resize, Crop, Save]
Hey! Well I have a little dilema, hoping I could find some guidance.

I have a CMS and on the

Help with form post data and arrays
Hi all,

I am new to this forum... It has been awhile since i have worked with arrays, and i a

mysql select with $_get ?
Hi, i have this code:
Code: // If char id is 0 and character dont exist do:
if ($_GET["id

mail()
Hi all. I have a problem with emails. I am trying to set up a mail system where customers can subscr

OOP help
okay so i have a class im making it has everything setup i just need to randomize the 2 variables an

Creating a unique 'control panel' for each user
Hi there,

I'm thinking of designing a site that will allow users to sign up and have their ow

Why use OOP?
Can someone explain to me why I should use OOP instead of procedure based code.

Im building a

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