1 頁 (共 1 頁)

[問題]問題少年來了@_@這次是關於虛擬形象的資料庫更新..

發表於 : 2003-12-22 17:08
hk_andy_hk
問題外掛:虛擬形象2.20
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?t=18723
使用版本:phpbb 2.0.6
網站位置:http://crazyzone.nowgo.net
狀況描述:
#
# 列出以下資料庫的數據: `template`
#

INSERT INTO template (templateid, templatesetid, title, template) VALUES (1, -1, 'face_bad_center',.....

更新這段的時候就出現error... 請問如何解決? :cry:

發表於 : 2003-12-22 17:16
Martinet
一一b...
要說Error是什麼阿=________=
我們又不是神 , 怎麼知道你出了什麼問題=_______=

發表於 : 2003-12-22 17:41
hk_andy_hk
Martinet 寫:一一b...
要說Error是什麼阿=________=
我們又不是神 , 怎麼知道你出了什麼問題=_______=
啊- -"是這個:
Parse error: parse error in /hd2/home/funbroad/_www_/db_update.php on line 55

發表於 : 2003-12-22 18:18
H.T.Demon
db_update.php!?
ETERNAL釋出的東西沒使用過db.php吧\r
都是.sql居多 呵呵\r

那...db_update.php裡的第55行是什麼? post來瞧瞧唄

發表於 : 2003-12-23 11:44
hk_andy_hk
H.T.Demon 寫:db_update.php!?
ETERNAL釋出的東西沒使用過db.php吧\r
都是.sql居多 呵呵\r

那...db_update.php裡的第55行是什麼? post來瞧瞧唄
我不懂使用那個.sql的檔案(可以順道教我怎麼用sql檔案?)-o-才用db_update.php
第55行~
$sql[] = "INSERT INTO template (templateid, templatesetid, title, template) VALUES (1, -1, 'face_bad_center', '<table width="100%" height="9" border="0" cellspacing="0">
<tr>
<td background="images/face/show_08.gif"></td>
</tr>
</table>
<table width=569 border="0" cellpadding="0" cellspacing=0 >
<tr>
<td>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<div align="center">$yifu1 </div>
</tr>
</table>
</td>
</tr>
</table>
'),

發表於 : 2003-12-23 11:47
Martinet
用sql檔吧...
去phpmyadmin , 打開你的資料庫然後在右上方的SQL按一下 ,
按一下瀏覽 , 選擇 該 sql檔
然後按一下執行...就ok了

發表於 : 2003-12-23 12:18
hk_andy_hk
謝謝^^使用到了