Visa ett inlägg
Oläst 2009-05-31, 13:42 #6
AlternativePhotographys avatar
AlternativePhotography AlternativePhotography är inte uppkopplad
Medlem
 
Reg.datum: Jan 2004
Inlägg: 77
AlternativePhotography AlternativePhotography är inte uppkopplad
Medlem
AlternativePhotographys avatar
 
Reg.datum: Jan 2004
Inlägg: 77
Nu provade jag det här:
<?php
$date = date('Y-m-d');
if(file_exits('/grafix/ap_logo_'.$date.'gif'))
{
$file = '/grafix/ap_logo_'.$date.'gif';
}
else
{
$file = '/grafix/ap_logo_.standard.gif'
}
?>
<img src='<?php echo $file;?>' alt="AlternativePhotography logo"/>

Och nu visas alt-taggen i alla fall... men vad gör jag för fel?
AlternativePhotography är inte uppkopplad   Svara med citatSvara med citat