Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

replace in query string

Status
Not open for further replies.

Floyd7

Programmer
May 23, 2007
35
US
Hi,

I have a query string that looks something like this:
page=6&jid=3344

I'm getting some errors where the query string is coming out like this:
page=6=3344

I'm not sure why this is happening for some users. Is there a way for me to replace the second occurrence of the = sign in the bad query sring?

Thank you.
 
I agree. I need to find out why this is happening. I'm actually working on a template that someone else created, so I'm trying to deconsruct what they did.

The query string is coming from the select statement, pulling data from a sql database:

'detail.cfm?page=3&jid=' + CONVERT(nvarchar(50), tablenameid) as pagelink

Then, it is called within <cfscript> with writeoutput:
WriteOutPut("<a href='" & queryname.pageLink & "'>");
WriteOutPut("* " & queryname.pagename& " ...</a>");
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top