之前的項目都沒有問題,重裝系統後發現:Parse error: syntax error, unexpected $end.找了半天,竟然忘了GOOGLE一下..原來是這樣哦,記錄一下.
在PHP文件中如果使用了<?來替代<?php標記PHP代碼的開始,並且php.ini中的short_open_tag應該爲On
short_open_tag = On
否則就會報異常:Parse error: syntax error, unexpected $end
之前的項目都沒有問題,重裝系統後發現:Parse error: syntax error, unexpected $end.找了半天,竟然忘了GOOGLE一下..原來是這樣哦,記錄一下.
在PHP文件中如果使用了<?來替代<?php標記PHP代碼的開始,並且php.ini中的short_open_tag應該爲On
short_open_tag = On
否則就會報異常:Parse error: syntax error, unexpected $end
What is a PHP extension? A PHP extension, in the most basic of terms, is
PHP連接Microsoft SQL Server 2000/2005/2008 最近由於工作需要用於SQL Server,想做一個測試環境,SQL
PHP裏面數組實現的全排列.<?php $t = array(array("漳州","泉州","廈門"),array("網站建設","網站開發"),