if it is about logos and stuff that may be changed put it simply in a
include and include it from all over or make a function and call it 
-almir

-----Ursprüngliche Nachricht-----
Von: darion mapp [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 21. März 2001 23:05
An: almir
Betreff: Re: [PHP] file height and width


I think that the DB approach is not bad at all. It allows you to format your
page quite easily and create different formatting for different sections of
your site with great ease.

How ever where the work comes is in the geration of the page. You will have
to echo the height and width to ensure that it is done. The name if the
image can also be done that way. This allows you to maintain things like a
company logo file with ease.

pluse adding a new page becomes easier once you take a modular approah to
it.

suggestion:

<img src="<?php echo "$imglocation" ?>" height="<?php echo "$height" ?>"
......

now that SHOULD work provided that you get the data from the DB and place
them in their variables as needed.

you can even use arrays to hold all that data and echo what is needed by
using a dumy variable to hold the index that you would like to echo.

Any problems you can contact me 
--

On Wed, 21 Mar 2001 22:57:24  
 almir wrote:
>1) why put it into db , i dont think it is good idea to do it, put it in
>file sytem , check it with image funrtions and than do what you want to or
>even easier use stiles to format it with html so that it doesn4t metter how
>big file actualy is
>
>-almir
>
>
>""george"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
>99akou$rsc$[EMAIL PROTECTED]">news:99akou$rsc$[EMAIL PROTECTED]...
>>
>> Chris,
>>
>>                It's going straigt into a db and is then pulled out and
>> displayed on the page. I want the image to be a specific size.
>>
>> Thanks
>>
>> george
>>
>>
>>
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>>
>
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


Get 250 color business cards for FREE! at Lycos Mail
http://mail.lycos.com/freemail/vistaprint_index.html

Reply via email to