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

How to copy a part of a vector in a raw memory
Hi,

How can I copy a part of a vector into a memory:

1
2
3
4
5

highlighting search terms
well, I started this in the regular PHP section, but it no longer fits there. Suffice it to say, I'm

foreach help.
Hello all,

First time I'm attempting to use a foreach statement and was just wondering if my

this code is not working????
it says this error.. Warning: Division by zero in ..

the variables are correct, so why is th

private constructor
Hello,

Can we create a constructor as private? If yes, what is the use of it? If no, why can'

Storing user data help?
Hey Guys,

I'm not use if this question is to broad but I can always give you more informatio

HELP with mysql_real_escape_string
I'm looking to remove apostrophes completely when someone enters lyrics but don't have a clue how to

email CODING Problem
Email coding problem.

I need to send a section of the info to $tf and the same as a Cc to $em

Career Change into SAP
Hai
I am sajesh ,did my diploma in Mechatronics i have a 4 years of experience in

unoconv doc convert to pdf code prob
PHP/5.3.1

Hi. I am trying to use this code to convert docs to .pdf utilizing unoconv. Howe

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