Posted by Ewoud Dronkert on 10/18/05 22:58
Ian Davies wrote:
> $Image ='images/PupilTester/nopicture.bmp';
Bad idea to use a BMP on the web. Try PNG (or GIF).
> $size = getimagesize($image);
Variable names are case sensitive! Use $image or $Image consistently.
> <td rowspan="5" valign="top"><div align="left"><img src=<?php echo $Image;
> ?> width= <?php echo "$width"?> height= <?php echo "$height"?>>
Use quotation marks to enclose tag parameter values in HTML, but not when
echoing PHP variables:
<img src="<?php echo $Image; ?>"
width="<?php echo $width; ?>"
height="<?php echo $height; ?>">
--
E. Dronkert
Navigation:
[Reply to this message]
|