Jump to content

[SOLVED] I Think I Get It


phpretard

Recommended Posts

Just On More Thing.

 

This makes a seperate array for each post.

 

Is there a simple fix to put them all into one array from the code you see here?

 

foreach($_POST as $key => $val){
	  
$invoice=array($key => $val);
	  
print_r($invoice);
	   
}

Array ( [customer] => ENS Metals and Jewelry, Inc. ) Array ( [category] => Marketing Material ) Array ( [product] => Tri-Fold Brochure ) Array ( [Cnumber] => 156882 ) Array ( [Qty] => ) Array ( [item] => Marketing Material ) Array ( [Description] => Tri-Fold Brochure | Full Color ) Array ( [Cost] => ) Array ( [Date] => 05-08-2008 ) Array ( [Paid] => ) 

Link to comment
https://forums.phpfreaks.com/topic/104784-solved-i-think-i-get-it/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.