作者s890510 (水色星晨)
看板PHP
標題[請益] 這一種連結是要怎樣用啊?
時間Sat Mar 31 16:27:47 2007
一般來說我的PHP都是龐大的聯結譬如說是thing.php、thing1.php
但我現在想要修改成thing?ul=1.php....之類的,
有沒有大大能教一下這要怎麼寫嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.240.141
1F:→ s890510:打錯了...應該是thing.php?ul=1 03/31 16:28
2F:→ dinos:preg_replace("thing(\d*)\.php","thing.php?ul=\\1",$s) 03/31 16:34
3F:→ s890510:....看不懂耶...可以解釋一下嗎? 03/31 17:04
4F:→ readper:我怎覺得原PO問的是基本GET傳值? 03/31 17:19
5F:→ s890510:我了解了.. 03/31 21:33