2011-11-29 19 views
0

嗨,我得到這個錯誤PHP,T_DOUBLE_ARROW

解析錯誤:語法錯誤,在/clientdata/zeus-dynamic-1/i/n/incard.com.au/www/newsite/system/意外T_DOUBLE_ARROW classes/core.php on line 36

and on line 36我有這段代碼,我想知道爲什麼會這樣,如果有人能告訴我正確的方法來做到這一點,這將是一個很大的幫助。

if($this->postcode => 1000 && $this->postcode =< 1999 || $this->postcode => 2000 && $this->postcode =< 2599 || $this->postcode => 2619 && $this->postcode =< 2898 || $this->postcode => 2921 && $this->postcode =< 2999) 

回答

3

您使用=>,而不是>==<而不是<=

0

=>爲數組表示法保留,try> =。

相關問題