Gossamer Forum
Home : Products : DBMan : Discussions :

Problem with adding a search link

Quote Reply
Problem with adding a search link
I have added a search link of my own on the search page.

The syntax is:

<a href="$db_script_link_url?view_records=1&Title=cartoon">Show all cartoons</a>

But when i do click on it i get this error message:

Log On Error


Oops, there was a problem logging into the system: invalid/expired user session.

Please try logging in again, or contact the system administrator




Any ideas on what it could be?



Thx.
Quote Reply
Re: [bil] Problem with adding a search link In reply to
It's probably the question mark (?) that's causing you trouble. You don't need it if you are using the variable $db_script_link_url, the variable will have the question mark "built in".

Stick in an ampersand (&) in place of the question mark and that should solve your problem.

Also check out the unofficial FAQ for more helpful hints on searching/viewing: http://webmagic.hypermart.net/dbman/

Good Luck!
Quote Reply
Re: [bil] Problem with adding a search link In reply to
You'd need to replace ? with &

eg...

<a href="$db_script_link_url&view_records=1&Title=cartoon">Show all cartoons</a>

Edit:

Oops, I missed the middle paragraph by Watts Blush

Last edited by:

RedRum: Jan 30, 2002, 8:22 AM
Quote Reply
Re: [RedRum] Problem with adding a search link In reply to
Its worked!Cool



Thanks for your help guys!