Posted by Oli Filth on 01/07/06 16:22
Oli Filth said the following on 07/01/2006 14:21:
> m6s said the following on 07/01/2006 07:48:
>
>> function getPrice( $sbl ){
>> if ( $sbl == $this->$paper[symbol] ){
>
> ^
> ^
> This is not valid syntax. You need quotes to access an array member,
> i.e. $paper["symbol"].
>
Always, always, always, always have error reporting turned on when
you're developing code. There are countless questions on these NGs which
wouldn't need to be asked if the poster had just had error reporting
turned on.
Make sure your php.ini file contains:
error_reporting = E_ALL
display_errors = On
--
Oli
[Back to original message]
|