Nueva ventana
| From: | Ezequiel Suarez | Date: | Mon, 29 May 2006 18:01:02 +0000 |
| Subject: | Nueva ventana | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-58972@lists.php.net to get a copy of this message | ||
Como hago para parasar un valor de una variable de php a html?
<?php
for ($i=0; $i <$num_results; $i++)
{
$row = $result->fetch_assoc();
echo '</td></font><td><font face="Trebuchet MS"
size="2"
color="#339966"">';
$ip = $row['Ip'];
}
$result->free();
$db->close();
?>
Aca necesito traer el valor de la variable Ip
<a href="#"
onclick="window.open('ping.php?ip=$ip','window','params')">IP</a>
Gracias a todos.