Log in

View Full Version : Call Image in PHP


iogames
06-05-2008, 11:59 PM
How do I call an Image or Logo in PHP?

I tried this and it doesn't work

<img scr="/images/logo.gif" width="50px" height="50px">

CHMOD 0777


Tried this too:
<div id='header'><img src='<?php echo $this->imagesDir ?>/logo.gif'></div>

Dismounted
06-06-2008, 07:08 AM
PHP is used for processing. HTML is used for display.
<img src="/images/logo.gif" width="50px" height="50px">
sRc, not sCr.

iogames
06-06-2008, 04:39 PM
That was so stupid! [but it wasn't my fault] LOL

--------------- Added 1212775165 at 1212775165 ---------------

Solved