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

extract content from a website
i have written a code that will grab the content from the index page..
i would like to know how c

Windows 7
Windows 7 default user account control worries experts. Corporate IT departments should be pleased w

Recording popularity by day, week.. all time?
Hey everyone, I'm creating a site designed around users uploading music. How can I implement a syste

Is this possible? If one file assigned to an ID...
I have a page that lists property listings assigned to a specific user (a manage page), with brief t

exclude characters from counting?
Hello, I wanted to ask if you have a string like:
Code: $my_s='ASRGREGTGTR----REGREGRE+++RRRRRR..

Securing a user input - need some confirmation
Hello All,

I am in the process of recoding a large proportion of an e-commerce site, one of t

retrieving more than one max key from an array?
so i have an array of 20 numerical values (0-100) that i need to order from highest to lowest and th

mod_rewrite.c on windows ??
why it's not working on windows while it's working on other hosts???

this is the code i got

add 20 000 to the rowcnt
Hi ...
I need to add 20 000 to the row count but just cant find a way to do this i am new to php

PO Release Strategy Issue
Hi Experts,

I am facing an issue related to PO release strategy. The details are-
<

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