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

Check premium expire
Hi,

I am making a simple file hosting site and want to check if users premium subscriptions h

Display the user's weight lost in the past week
Hello everyone,

I am working on a weight loss app for my site, and I want to display the user

Help with writing "$" with fopen
I just can't get my syntax correct. Could someone help me please? I am trying to write a connect fil

error reporting
hey everyone

I have a production server in which I want error reporting but only on some page

modifying query string with no page refresh
Hi everybody,
I've tried to get info about my problem all over the internet but i didn't find out

Problem with creating FI documents
Hi, Experts!

when i create Fi doc. with standart transaction, i ve been had such problem

need help about
i store the value of my select statement result to an array and stored it to a variable named $fname

Unable to display contents in Second Drop Down Box
Hi All,

What I am trying to do is 2 dependent drop down boxes and when user selects su

DYNPRO_FIELD_CONVERSION
Hi gurus,

I got a dump when I run one of my program. the dump is described below:

Problem with HTML form
Hello,

I made a HTML form with some fields and check box.
Everything works fine except whe

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