Gossamer Forum
Quote Reply
how?
if ($per_admin) { print qq| <br><b><$font_color>Location of the Voice File:</font></b>
<input type=text name="HearVoice" value="$rec{'HearVoice'}" size="70" maxlength="255"> |; }

This is where the admin enter the url for the voice.

unless ($db_userid eq "default")
{
print qq|
<br><a href="$rec{'HearVoice'}">Click here to hear my voice</a>
|;
}

here is where it shows the url of the voice. But if there is no url entered. how do i make it that it wont show "Click here to hear my voice" ?
Quote Reply
Re: how? In reply to
Code:
unless ($db_userid eq "default") {
if ($rec{'HearVoice'} gt "http://") {
print qq|
<br><a href="$rec{'HearVoice'}">Click here to hear my voice</a>
|;
}
}

------------------
JPD