How To Open view.php in new tab.
$url=mysql_result($result, $i, 'url');
echo '<td><a href="view.php?url='.$url.'" >Click Here</td>';
How To Open view.php in new tab.
$url=mysql_result($result, $i, 'url');
echo '<td><a href="view.php?url='.$url.'" >Click Here</td>';
You have to add target attribute to the anchor tag (<a>
) and assign the attribute value as _blank
to open in a new tab
$url=mysql_result($result, $i, 'url');
echo '<td><a target="_blank" href="view.php?url='.$url.'" >Click Here</td>';
Change your code to above code and the page will be opened in new tab on clicking the link.