Hi!
Your guestbook is great, thank you. It works fine as well. I have a short question though.
I do not want to have visible text links. When a visitor has a homepage it is listed in the guestbook as text.
<a href="go.php?url='.$url.'" class="smaller" '.$target.'>'.$url.'</a>
I want to replace the text-url by a small homepage-gif-image.
<a href="go.php?url='.$url.'" class="smaller" '.$target.'><IMG SRC="..." BORDER="0"</a>
works...the gif is clickable. The only problem is that this image always shows up even when a visitor has NO homepage. Is there a way only to display the image when the url is filled in and not empty?
Replace text url by small gif
Which version of GBook are you using? Make sure it's the latest one (1.6) and make sure you are editing line 972:
It should work then and only show the image if an URL is present.
Code: Select all
echo $lang['t19'].' <a href="go.php?url='.$url.'" class="smaller" '.$target.'>'.$url.'</a><br />';
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools