Hello all,
I have a database which contains names of people which is being shown one by one, page by page. I also want to make the name fields clickable so that we can figure out if that user name has been exsisting also on other pages (or not).
Maybe by pasting the code will be more helpful for all of us. Here is my line on the page:
<a HreF="/cgi-bin/dbman/db.cgi?db=list&keyword=$rec{'user_name'}&view_records=View+Records">$rec{'user_name'}</a>
Now, let say the user_name at that time is John. Then this script writes the name on the page and links it to a search which will be made against all fields (that's why used as 'keyword')
It's ok for John; BUT...
When the name is John Doe, the link should be written as John%20Doe for the href code (Yes, %20 for space).
Internet Explorer takes cares about it but Netscape does not change nothing. So when you click the link on IE, it lists the records which has the name 'John Doe' but Netscape returns an error page with title 'UNKNOWN ACTION!'
Any ideas? I've fought with it for 2 hours but couldn't get over... I know, it would be better if I could gave the URL but I'm building offline yet.
Thanks everyone.
I have a database which contains names of people which is being shown one by one, page by page. I also want to make the name fields clickable so that we can figure out if that user name has been exsisting also on other pages (or not).
Maybe by pasting the code will be more helpful for all of us. Here is my line on the page:
<a HreF="/cgi-bin/dbman/db.cgi?db=list&keyword=$rec{'user_name'}&view_records=View+Records">$rec{'user_name'}</a>
Now, let say the user_name at that time is John. Then this script writes the name on the page and links it to a search which will be made against all fields (that's why used as 'keyword')
It's ok for John; BUT...
When the name is John Doe, the link should be written as John%20Doe for the href code (Yes, %20 for space).
Internet Explorer takes cares about it but Netscape does not change nothing. So when you click the link on IE, it lists the records which has the name 'John Doe' but Netscape returns an error page with title 'UNKNOWN ACTION!'
Any ideas? I've fought with it for 2 hours but couldn't get over... I know, it would be better if I could gave the URL but I'm building offline yet.
Thanks everyone.