Gossamer Forum
Home : Products : DBMan : Customization :

Extra Tags in ID Record?

Quote Reply
Extra Tags in ID Record?
At this page:
http://www.outermost.net/...w_records=1&ID=1
At the bottom, I would like to offer the option of switching from the lite db to the default db so I inserted this code:

Code:
<div align="center"><center>

<table border="0" width="470" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><hr size="1" color="#B59C94">
</td>
</tr>
<tr>
<td width="100%"><p align="center"><a href="http://www.outermost.net/cgi-bin/db/db.cgi?db=default&uid=default&view_records=1&ID=$rec{'ID'}"><font face="Arial"
color="#800000"><small>switch to the hi-fi version of this review where you can get
showtimes,</small><br>
<small>cast your vote, voice your opinion and much more!</small></font></a></td>
</tr>
</table>
</center></div>

For some reason, instead of just inserting the ID, it inserts the ID with <B> before it and </B> after it. Anyone else run into this problem or know how to fix it?

Thanks in advance,
Blake Kunisch
ICQ: 7703534
Quote Reply
Re: Extra Tags in ID Record? In reply to
Hello Blake:

There are two ways to solve the problem.
1) turn off $db_bold and set it to 0 in default.cfg
2) filter the tags immediately before trying to display it using regexp

the easier way would be number 1

------------------
-------------------- Gossamer Threads Inc. ----------------------
Sun Djaja Email: sun@gossamer-threads.com
Internet Consultant
http://www.gossamer-threads.com