Re: Please help me with this very basic variables question...
It seems there is an error in the tutorial you are using. the "@" symbol is actually used to suppress an error that the following function might throw: http://www.tuxradar.com/practicalphp/19/8/12
I'm assuming the author ment that to be a "$" symbol, as that indicates a variable. that line should be $AcmeInventory = (178,286,387); .
EDIT: If that doesn't work, change that line to this: $AcmeInventory = array(178,286,387); .
Last edited by humbug; Jul 22nd, 2009 at 11:13 pm. Reason: added note
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.