brad_langdon Posted October 19, 2009 Share Posted October 19, 2009 Hi, I have this code... foreach ($_POST['Interests'] as $interest => $value) { echo "Interests: $interest; Value: $value<br>";} How do I store the multiple results in a single variable? Link to comment https://forums.phpfreaks.com/topic/178164-solved-foreach-result-into-a-single-variable/ Share on other sites More sharing options...
brad_langdon Posted October 19, 2009 Author Share Posted October 19, 2009 SOLVED... $interests = implode(', ', $_POST['Interests']); Link to comment https://forums.phpfreaks.com/topic/178164-solved-foreach-result-into-a-single-variable/#findComment-939416 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.