怎麼嵌套?本人菜鳥 PHP語言沒看過··主任叫我做個網址 現在差個 連結跳轉·· $id=$_GET["id"]; $sql="select list from list where id=$id "; $query1=mysql_query($sql); $slq1="select content from $query "; $query=mysql_query($sql1);
MySql配置問題#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line
php能不能把MYSQL裡的某列的值裝入單維數組?比如表name 欄位 |――――――――――――| | |id class grade1 a T2 b W3 c Z如上,例如把欄位class這一列,裝入一個單維數組!預設mysql_fetch_array 是把行 載入數組,我現在想把某列載入一個數組-
php裡面cookie的問題?狠奇怪PHP code"; echo $HTTP_COOKIE_VARS["TestCookie"]; echo ""; print_r($_COOKIE); setcookie("cookie","ok");?>最後一行放上去就報錯如下:Warning: Cannot modify header information - headers already sent by (output started at
PHP MYSQL 救命呀!!!!ThinkPHP架構 public function select() { $db_dsn = "mysql://root:guozhixin@localhost:3306/my_table"; $db = new Db($db_dsn); echo $db->execute("select * from think_person");
請問php的web伺服器怎麼配置, httpd.conf我下了個php的開源項目,用iis+php伺服器,配置,我不會設定許可權,亂搞了一通,居然可以了,但在登入的時候會跳出這樣的的對話方塊an error occurred,the server returned a "404 object not found"然後我就發了在那個英文論壇上發了文章,有回複說Check AllowOverride in httpd.conf it should be set to “All”,