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

Search in the PHP Files
have to search asterisk(*) in the php code of the php files .
In the html page one text box

php title problem
Hi,

I am having a problem managing my page title with PHP.

Currently I have my <

Multi image upload
I have a gallery to build and want to build a dynamic upload form to allow for $var number of fields

. and .. appearing instead of pictures
First of all, thanks very much for providing this forum. It is very much appreciated!

My son

SELECT * FROM users WHERE Users are not in Blocked
How do I select all users from users table where there users_id is not stored in the block table

Php navigation
I have four buttons on a php page.
If i click a button it will redirect to different php pages.

Inserting into MySQL Newbie
Hi ive got a slight problem where ive made a simple web form where the customer inserts the ammount

Inserting a variable in a link
I have this code that I want to insert for my own variable but I have no idea how. This is what I wa

user administration
Dear @all,

what I have to do to set the user defaults for new users. At the moment I woul

Website Direction...
I recently used this code to try and make it so the page loads as http://www.domain.com/ when you ty

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