作者查詢 / tnsshnews

總覽項目: 發文 | 留言 | 暱稱
作者 tnsshnews 在 PTT [ PHP ] 看板的留言(推文), 共24則
限定看板:PHP
首頁
上一頁
1
下一頁
尾頁
[請益] simpleXML 產生全新的XML檔案
[ PHP ]3 留言, 推噓總分: +1
作者: tnsshnews - 發表於 2017/04/12 01:01(8年前)
2Ftnsshnews: move->addChild('person')兩次就只有產生一個child04/12 23:53
3Ftnsshnews: 第二個變成person的child, movie的grandchild了04/12 23:54
[請益]請問怎樣string replace
[ PHP ]9 留言, 推噓總分: +1
作者: tnsshnews - 發表於 2011/10/05 18:11(14年前)
4Ftnsshnews:請問要怎樣取代呢? 一取代就把中間的屬性質都變空了10/05 22:25
6Ftnsshnews:謝謝樓上, 好像是取出of與is,沒有取代成""?10/05 23:13
7Ftnsshnews:不知道是不是我搞錯了, regex真是難懂的東西10/05 23:14
8Ftnsshnews:$string="<wf cmd=ignore pos=IN>for</wf>"10/05 23:15
9Ftnsshnews:preg_replace('/(\w+)=\ ?(\w+)/', '\\1="\\2"',$string10/05 23:16
[請益] 字串前處理-縮寫問題
[ PHP ]4 留言, 推噓總分: 0
作者: tnsshnews - 發表於 2011/01/06 10:29(15年前)
4Ftnsshnews:太感謝了..幫了大忙^^01/06 14:16
[請益]要怎樣將特定的html tag所包夾的字串清掉
[ PHP ]16 留言, 推噓總分: +1
作者: tnsshnews - 發表於 2010/12/30 11:10(15年前)
4Ftnsshnews:我剛才試過完全沒有任何處理ㄟ....還是一樣在@@12/30 13:04
6Ftnsshnews:regex只能用try的?12/30 14:41
[請益]strpos是不是不能搜尋中文字呢
[ PHP ]14 留言, 推噓總分: +4
作者: tnsshnews - 發表於 2010/10/04 23:28(15年前)
2Ftnsshnews:感謝10/04 23:34
3Ftnsshnews:剛才試了一下 還是不行ㄟ10/05 00:04
7Ftnsshnews:還是一樣ㄟ10/05 00:29
8Ftnsshnews:我是去上面那個網址抓原始碼10/05 00:32
9Ftnsshnews:目的是要抓網頁中的某些資料存到資料庫使用10/05 00:32
Re: [請益] 如何讓php網站每天某個時間就暫時關閉呢
[ PHP ]1 留言, 推噓總分: +1
作者: ckmarkhsu - 發表於 2009/02/15 13:10(17年前)
1Ftnsshnews:謝謝高手指點,問題已經解決了,謝謝!!02/15 16:29
[請益] 如何讓php網站每天某個時間就暫時關閉呢
[ PHP ]8 留言, 推噓總分: +3
作者: tnsshnews - 發表於 2009/02/15 12:32(17年前)
2Ftnsshnews:可是備份資料庫時並不會把資料庫停止運作02/15 12:44
6Ftnsshnews:一定要用htaccess嗎02/15 13:20
7Ftnsshnews:我對htaccess不是很熟 有其他的方法嗎02/15 13:20
[請益]能夠把資料庫內的tables資料輸出成一個檔案存起來嗎
[ PHP ]7 留言, 推噓總分: +2
作者: tnsshnews - 發表於 2009/02/11 10:02(17年前)
3Ftnsshnews:這樣從資料庫撈出來之後要怎樣放進黨案呢02/11 20:47
7Ftnsshnews:謝謝樓上,fwrite可以了,看來是小弟沒弄懂函式02/12 10:52
[請益] 要怎樣只讓資料庫中最後一筆資料顯示呢
[ PHP ]8 留言, 推噓總分: +3
作者: tnsshnews - 發表於 2009/02/04 09:15(17年前)
2Ftnsshnews:有...但是資料不一定會連續...02/04 10:32
3Ftnsshnews:使用者有可能刪掉其中幾筆02/04 10:32
5Ftnsshnews:所以不能用mysql_row_num02/04 10:33
首頁
上一頁
1
下一頁
尾頁