foreach result into a single variable


Posted on 16th Feb 2014 07:03 pm by admin

Hi,

I have this code...

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

Revoking alter any table from a schema
Hi All,

i am working in Oracle 10g.
my requirement is to revoke all kind of DDL oper

Strange php code found on my website
I got hacked and the following code was placed within my files:

Code: [Select]<?
/*

User input in to variable
Hi all,

I'm sure this is very easy but I'm having another brain freeze!

At the end of

CHMOD script
Hi,

I need a script to read all files in a folder and set to 777.

Can anyone help out

problems with script
I made a small script wich exchanges points in my website:


<?php
session_start

CE 7.1 and External GIS integration
Hi All,

We want to develop an application on CE 7.1 which uses GIS features from an exter

MFC GUI Programming
I am working on a project right now that requires me to create a MFC Windows GUI. Basically it need

script is pulling more then they have....
I have this script for my game where they can change there race. This will cost them 2,500 points. H

C++ API to Oracle dB
I need to perform a select command to the Oracle dB to obtain information from a table.
What libr

From Header Showing 'Unkown' In Hotmail? Why?
Code: $to = $row_GetID['email_addr'].',sales@mywebaddress.co.uk';
$subject = 'Thank you for you

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