Posted by J.O. Aho on 09/26/06 03:49
Nospam wrote:
> If I wanted to set the height and width for a php script, would a straight
> forward inclusion of the height and width, as in img scr work? e.g:
>
> <?php include_once('sample.php'); width="50" height="100" ?>
<table style="width : 50px; height : 100px">
<tr><td>
<?PHP include_once('sample.php'); ?>
</td></tr>
</table>
You can't tell the PHP how big it's output will be, you need to set it inside
a table and define how big the table will be (you can also use frame and
iframe to do this).
//Aho
[Back to original message]
|