Re: Como hacer con PHP que una imagen tenga la misma funcionalidad que un boton con el evento SUBMIT???

From: Date: Mon, 04 Apr 2005 08:10:36 +0000
Subject: Re: Como hacer con PHP que una imagen tenga la misma funcionalidad que un boton con el evento SUBMIT???
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-53951@lists.php.net to get a copy of this message
Eso es HTML y no PHP. Puedes encontrar las DTD en la W3C www.w3c.org Prueba <button type="submit"><img src="imagen.jpg /></button> > 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 > > -- > PHP Spanish Localization Talk Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general.es (#53951) next »