Jump to content

[SOLVED] _blank


sandbudd

Recommended Posts

thanks for the help on the last post how do I have this go to a its own page?  code works fine

 

<?php
$maxcol = 6;
$count = 0;
echo "<table width=100%>";
$result = mysql_query("SELECT * FROM washington");
while($row=mysql_fetch_assoc($result)){

     if ($count % $maxcol == 0) echo "<tr>";

     echo "<td>";
     echo "<a href=../forum/".$row['link'].">".$row['city']."</a><br />\n";
     echo "</td>";
     $count++;
     if ($count % $maxcol == 0) echo "</tr>";

}
echo "</table>";
?>

Link to comment
https://forums.phpfreaks.com/topic/166293-solved-_blank/
Share on other sites

thanks for the help on the last post how do I have this go to a its own page?  code works fine

 

<?php
$maxcol = 6;
$count = 0;
echo "<table width=100%>";
$result = mysql_query("SELECT * FROM washington");
while($row=mysql_fetch_assoc($result)){

     if ($count % $maxcol == 0) echo "<tr>";

     echo "<td>";
     echo "<a href=\"../forum/".$row['link']."\" target=\"_BLANK\">".$row['city']."</a><br />\n";
     echo "</td>";
     $count++;
     if ($count % $maxcol == 0) echo "</tr>";

}
echo "</table>";
?>

Link to comment
https://forums.phpfreaks.com/topic/166293-solved-_blank/#findComment-876935
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.