我想爲每個創建的$ url打開一個新窗口,我該怎麼做?爲每個創建的網址打開一個新窗口
<?php
require_once('sql.php');
$result = mysql_query("SELECT * FROM gamertags ORDER BY id DESC LIMIT 10");
while($row = mysql_fetch_array($result)){
// Prepare gamertag for url
$gamertag = strtolower($row['gamertag']);
$url = "http://halogamertags.com/tags/index.php?player_name=".urlencode($gamertag);
}
?>
那就是我在找的感謝! – AndrewFerrara 2011-04-15 00:55:21
@Andrew,如果它正確,則標記如下:-P – Neal 2011-04-15 13:05:07