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

getting a website's source code as a variable? How?
Hey guys, is there any way for me to get the source code of a website as a variable for me to work w

Suggestions for Functional module
Hello experts,
I Have done B.Sc(Mathematics) and MCA & have learnt SAP/ABAP but do n

Adding delete feature to my forum
Hello I am currently trying to add a delete feature to my forum. I believe I have everything built r

CRM?
I think that's what they're called. Customer Management System? Anyway. Is there any good free ones

Creating web pages by php
Hello again,
I was just wondering us there a way to use a php script to create a new web page. I

Why use OOP?
Can someone explain to me why I should use OOP instead of procedure based code.

Im building a

Stats of viewers
Hello. I have a website in php and people can login. I want to make an admin control panel where u c

How to replace search button with link?
hi to everbody.
i have a search submit form and button like this :

<form id="f

How do I use a global footer..?
If my index.php has a bole bunch of if functions and exit's in them

error checking breaking my code
Hi there, OK first of all, big apologies for what I assume is really fundamental errors in the struc

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