作者pinkisme ()
看板PHP
標題[請益] 不知道該如何解決的error
時間Wed Oct 3 16:21:50 2007
錯誤訊息是下面這句
Parse error: parse error, unexpected T_STRING in C:\AppServ\www\test\fun_GetAn
dSave.php on line 11
不過檢查那一行感覺沒錯阿,前後也稍微檢查了一下,也不曉得有什麼問題
想請各位幫忙看一下,謝謝
<?php
//set htmfilename
string url_prefix="
http://blogsearch.google.com/blogsearch_feeds?hl=en&ctz=
-480&c2coff=1&as_epq=&as_oq=&as_eq=news&as_drrb=q&as_qdr=a&as_mind=1&as_minm=1
&as_miny=2000&as_maxd=3&as_maxm=5&as_maxy=2007&lr=lang_en&safe=off&q=";
上面是有錯誤訊息的那行
//set url_suffix,url切成兩部份
string url_suffix="&ie=utf-8&num=100&output=rss";
//set siteURL
string site_url;
site_url="spaces.live.com";
麻煩各位orz
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.115.223.231
推 buganini:你是不是寫錯語言了... 10/03 16:31
→ buganini:php不用宣告的啊@@ 10/03 16:31
→ buganini:變數前有'$' 10/03 16:31
推 pinkisme:喔喔,感謝,我太久沒寫了,謝謝= =" 10/03 16:51
推 buganini:XD 10/03 19:18