看板 PHP 關於我們 聯絡資訊
一般來說我的PHP都是龐大的聯結譬如說是thing.php、thing1.php 但我現在想要修改成thing?ul=1.php....之類的, 有沒有大大能教一下這要怎麼寫嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.240.141
s890510:打錯了...應該是thing.php?ul=1 03/31 16:28
dinos:preg_replace("thing(\d*)\.php","thing.php?ul=\\1",$s) 03/31 16:34
s890510:....看不懂耶...可以解釋一下嗎? 03/31 17:04
readper:我怎覺得原PO問的是基本GET傳值? 03/31 17:19
s890510:我了解了.. 03/31 21:33