Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quick Php Question


gaus

Recommended Posts

Hello,

 

I am curious to know something about some PHP syntax I see in OSC code. For example,

 

$sql_data_array = array('orders_id' => $insert_id,

'products_id' => tep_get_prid($order->products[$i]['id']), ...

 

What is happening here? What is '=>' and '->' ?

 

I see an array being created and a function (tep_get_prid) being called but what are the 'equals or greater than' and 'minus greater than' operators? I can't find a reference to this type of syntax on php.net or anywhere else.

 

Curiously,

 

gaus

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...