gaus Posted June 1, 2007 Share Posted June 1, 2007 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 More sharing options...
Guest Posted June 1, 2007 Share Posted June 1, 2007 yea you may want some info from php.net about arrays and objects http://www.php.net/manual/en/language.types.array.php Link to comment Share on other sites More sharing options...
gaus Posted June 4, 2007 Author Share Posted June 4, 2007 yea you may want some info from php.net about arrays and objectshttp://www.php.net/manual/en/language.types.array.php Thanks. This is a little clearer now. If anyone wants to take the time to clarify a little more, I'm still listening. gaus Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.