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

Detail Expenses Report by Cost Center
I would like to obtain a report out of SAP that shows a list of expenses by cost center that shows t

PHP search multiple input field box help
I am having a problem with my search script. At current it will simply search by a selected date whi

making web pages for accounts
Hello, I would like to make pages for accounts on my website im making (its not a real website..im j

FPDF Help
I've been playing with the FPDF module. I was building a form and rolling right along and then sudde

Modal Popup Help
Hi guys, I have a modal popup with an iframe. How can i send data from a label or textbox to the ifr

PHP Tab Control
Hi All,

I would like to have PHP tab control with/without Javascript.

But I want to r

Question about the upload of large files
Hi there,

I have a question about the upload of large files, like videos (files generally abo

Shuffle between users ??
I have multiple $users in table. I need to send them $message.

I need to send the next messag

can i optmize image to 50% quality before uploading 2 server
Hi there

i have jus written a php program to upload and display images but when i try to uplo

javascript in php code causes page to display white
Hi All,

Odd one this, I've got the following code (below) which is a simple log in form. The

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