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

preg_match logical error
Code: <?php
$s = file_get_contents("page.html");
preg_match('/<div cla

Credit card verification
I have a client who wants to process credit card transactions from his web site rather than the goin

Recognising Revenue daily
Hello.
Has anyone come across daily recognition of deferred income?
We want to implement R

Undefined offset
The following script checks to see if the user answer matches the correct answer.

Form Fiel

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

phpMailer not working ..........
HI,
I was playing with the phpMailer script and tried to send a smiple mail using their test scri

same querie, or a new one??
Hi guys,

I'm still working on this drop down list. I've got the actual drop down list to wor

SAP Management Console is blank
Dear All ,

I am facing problem in my des sever suddely in SAP Management Console is blank and

Session problem?!?
Hello All! I am very new to the php world but I am working on fixing things that a previous programm

Can't seem to capture a variable in a chained select
I'm *this* close to having a chained select running but for some reason it doesn't seem to be pickin

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