Como hacer con PHP que una imagen tenga la misma funcionalidad que un boton con el evento SUBMIT???
| From: | atzwebdev | Date: | Mon, 04 Apr 2005 01:46:50 +0000 |
| Subject: | Como hacer con PHP que una imagen tenga la misma funcionalidad que un boton con el evento SUBMIT??? | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-53946@lists.php.net to get a copy of this message | ||
Hola a todos
Tengo el siguiente codigo que funciona bien con IE pero si hago un test en
FireFox no finciona ( no se si es por el JavaScript )
La pregunta es: Como hacer con PHP que una imagen tenga la misma
funcionalidad que un boton con el evento SUBMIT???
Obviamente sin usar JavaScript ...
<table align="center" width="700" >
<tr>
<?php
$bol = mysql_query("SELECT IDBOLETIN, NOMBRE, IMAGEN FROM BOLETINES WHERE
STATUS=1");
while ( $row = mysql_fetch_array($bol)){
?>
<form name="forma" method="post" action="boletin.php">
<td><input type="hidden" name="boletin" value="<?php echo
$row['IDBOLETIN']; ?>">
<span class="metros3_boletin"><a href="#"
onClick="submit();"><img
src="Images/<?php echo $row['IMAGEN']; ?>"
border="0"></a></span></td>
</form>
<?php
}
mysql_free_result($bol);
?>
</tr>
</table>
Gracias por la ayuda ....
atzwebdev