Gossamer Forum
Home : Products : Gossamer Links : PHP Front End :

A "link already exists" page

Quote Reply
A "link already exists" page
Hi

When a user submit a link and if the link already exists in the database, I would like to have the following :

Error : Your link cannot be added, your link is already in our database (or waiting to be validate)

Is it possible?

Txs
Quote Reply
Re: [fmp] A "link already exists" page In reply to
Don't you already have this feature in the add template? Something like;

<? if ($error) { echo $error; } ?>

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] A "link already exists" page In reply to
In Reply To:
Don't you already have this feature in the add template? Something like;
<? if ($error) { echo $error; } ?>


Hi

I have the following
<?if ($error) {?>
<p><?echo $error_font?><b><?echo $error?></b></font></p>
<?}?>

but it doesn't seem to prevent people of adding their website a second time ... do I have to make a special change for this?

Txs

FMP
Quote Reply
Re: [fmp] A "link already exists" page In reply to
Hi

any ideas?



Txs

FMP