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

Stopping page post back
I have few literal contriols in my page and a repeater too. But inspite of using update panel, postb

problem with query error
First Thanks to those who helped me on my previous posts, and the following code i'm using is not mi

duplicate record notification
In my database, after insertion of records, I want to know if the record inserted is duplicate or no

Header redirect
Hello ive got a problem ive got form with its action set to itself.
Code: <form id="f

Sql and php order list script problems
Hi im having a few problems with trying to get the coding right on a orders list ive done (or trying

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

Change Age automatically
hi guys . im new to php , is it possible to change age value in mysql automatically when year change

Unable to retreve the values from Mysql Query
Hi,

Here is the php code that I have, Query is running properly in phpmyadmin and is resu

problem with php server update from mid 2009
Hi,

I have this navigation menu on 2 websites which used to work just fine. After a recent up

PHP If Else statement for breadcrumb
Hi

I am trying to use a PHP if else statement to display a breadcrumb link on wordpress

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