MikeK Posted March 24, 2007 Share Posted March 24, 2007 got lost in this......anyone familiar with OSC CRE_L will recognise this the $order array is an array of arrays I can get to the products array $order->products but I really want to extract the value in that array of name or model This is the array of $order->products Array ( [0] => Array ( [qty] => 1 [name] => Credit [model] => GIFT5 [tax] => 0 [tax_description] => Unknown tax rate [price] => 5.0000 [final_price] => 5 [weight] => 0.00 [id] => 1 ) ) tried $val = $order->products['model'] doesnt return anything and I'm unsure as to why not Please can anyone advise me Quote Link to comment Share on other sites More sharing options...
Orio Posted March 24, 2007 Share Posted March 24, 2007 Try using $order->products[0]['model'] Orio. Quote Link to comment Share on other sites More sharing options...
MikeK Posted March 24, 2007 Author Share Posted March 24, 2007 Thx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.