Muestra un gráfico de barras

Lo que realiza, es coger una imagen y alargarla para adaptarla al gráfico. Para este código, deves disponer de 3 imagenes denominadas: cuador_rojo.gif, cuadro_verde.gif y cuadro_azul.gif de un tamaño de 20x20 pixels.

'<'?
$anchura1=100;
$anchura2=40;
$anchura3=80;
?>
'<'table border=0 cellspacing=0 cellpadding=0>
'<'tr>
'<'td>
'<'img src="cuadro_rojo.gif" width= height=20>
'<'/td>
'<'/tr>
'<'tr>
'<'td>
'<'img src="cuadro_verde.gif" width= height=20>
'<'/td>
'<'/tr>
'<'tr>
'<'td>
'<'img src="cuadro_azul.gif" width= height=20>
'<'/td>
'<'/tr>
'<'/table>

4 comentarios:

Antonio dijo...

Hola. Llegue a este blog buscando algo sobre php. No tengo ni idea y necesito ayuda.

La cosa es que yo tengo un blog con blogger. Tengo que validarlo en una web y para ello tengo que insertar el codigo PHP que me facilitan en esa web. La cuestion es que no se ni como ni donde pornerlo en mi blog. Si me pudieran ayudar se lo agradeceria mucho.

Gracias de antemano.

rc dijo...

Buen artículo muchas gracias! :):):):):):)

magnifictraining dijo...

Hi there,I enjoy reading through your article post, I wanted to write a little comment to support you and wish you a goodcontinuationAll the best for all your blogging efforts.Appreciate the recommendation! Let me try it out.
Keep working ,great job!
Awesome post
Hadoop training

Brice Jacobs dijo...

Thanks for taking the time to discuss that, I really feel strongly about it and love learning more on that topic. If achievable, as you gain competence, would you mind updating your blog with more information? It is highly helpful for me. php training in jalandhar