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

need help to creat database
Hello Team, please guys i am stuck from three days with paypal issue for IPN but no luck yet now i w

SAP Project Module
I have seen in the SAP Project Module,plan cost and budget are not equal and even difference is sign

Displaying image from database
Hi,

I've got a site where that's got a database behind it. Currently it has loads of items in

Running External Scripts
I am very new to PHP and am not even sure what I'm asking is possible. I have just installed mediaW

Not adding to db
Hi, I can't figure out why it won't add the record to the database. It's just a simple form to get

php web service error
hey guys,
I'm working on a project requires the use of web services. I've been trying a few tutor

Displaying an image using echo command
I had done a query on my database, one of the fields being an image reference to a directory where a

Email Form Syntax Issue
I need the TO: in email to display To: CEO instead of To: abc@mail.com

How to alter the scri

Is it possible to view php source code??
Hi All

I was just wondering if it's possible to view a websites php source code?
I know

Read from forum
Haven't written anything forever and I would like to get back.
What I'm trying to do is getting t

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