我安裝shuguang的cms到虛擬機器主機是時報Access denied for user 'root'@'localhost'曙光cms 是基於thinkphp做的安裝程式到虛擬機器主機時要用到專案檔夾下的Install中的安裝程式否則安裝出錯Access denied for user 'root'@'localhost' (using password:
PHP迴圈問題有一個資料表為 job 欄位: id name content date前提:scrapy每時每刻會向資料庫job表裡寫資料問題:每1分鐘從從job表中讀出最後一個資料,與現在的時間做比對,如果現在的時間與date欄位資料的時間相差30分鐘,就跳出迴圈,否則就繼續用while迴圈做個死迴圈嗎? 怎麼做啊。謝謝------解決方案--------------------while(1) {$sql = "select * from job order by id desc
Netbeans7.0開發PHP卡死新裝的Netbeans7.0,在匯入現有PHP項目後,過一段時間Netbeans就會卡死,等多長時間都反映不過來,有人遇到過嗎?------解決方案--------------------探討新裝的Netbeans7.0,在匯入現有PHP項目後,過一段時間Netbeans就會卡死,等多長時間都反映不過來,有人遇到過嗎?------解決方案--------------------這個還真沒辦法解決。唯有換版本或編輯器。推薦eclipse for PHP
php關於mssql的配置問題?不知曾幾何時和sql server 2000搞到一起,發現php無法使用mssql_connect()Fatal error: Call to undefined function mssql_connect() in F:\APMServ\www\htdocs\sqlserver.php on line
mysql_fetch_array(): supplied argument is not a valid MySQL result resourceWarning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\myapacheweb\test\self_info.php on line 7PHP codemysql_connect("localhost","root","1"
MySQL的Update的使用MySQL的更新語句update中可以用子查詢嗎? update score set 姓名='王五' where 總分=(select min(總分) from score);我這樣用為什麼出錯?/*******************CREATE TABLE IF NOT EXISTS score(學號 BIGINT UNSIGNED,姓名 varchar(10),數學 TINYINT UNSIGNED,英語 TINYINT UNSIGNED,物理
php錯誤:You have an error in your SQL syntax; 急!!!!!$sql="select id,title,type_id,time from news limit $offset,$Page_size where type_id=".$type_id; echo $sql;$result=mysql_query($sql) or die($sql."".mysql_error());; while