Jump to content

help? am i being dumb?


Guest

Recommended Posts

i have a script that displays a image if a folder on my server is empty or has a file it it:

 

the code i use is:

 

<?php
$dir = 'upload/18_00';
echo (count(glob("$dir/*")) === 0) ?"<a href=upload/1800.php><img src=img/1800.png":"<img src=img/booked.png";
?>

 

the problem is a link box appear around it when i dont want it to.

:(

 

is this sumthing i need to specify in my css?  :-\

 

Link to comment
https://forums.phpfreaks.com/topic/97868-help-am-i-being-dumb/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.