This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > July 2005 > Code works locally does not in production





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Code works locally does not in production
Aleks

2005-07-30, 7:25 pm

Hi,

I have a page that will use a 2 lists and filters them out, I am actually
using an extension to filter them out ,it is by webassist, just that I don't
post there because they take days to answer and I was hoping I could get an
answer here faster.

I have two databases, using database 1 it works just fine, using database 2
displays errors, the database design, structure is identical, data may be
different.

Response.Write("WAJA[" + n + "][" + m + "][1] = " + "'" +
String(AddressesDDM.Fields("ParamValue").value).replace(/'/g,"|WA|").replace(/\\/g,"\\\\")
+ " (" +
String(AddressesDDM.Fields("country").value).replace(/'/g,"|WA|").replace(/\\/g,"\\\\")
+ " - " +
String(AddressesDDM.Fields("state").value).replace(/'/g,"|WA|").replace(/\\/g,"\\\\")
+ " - " +
String(AddressesDDM.Fields("city").value).replace(/'/g,"|WA|").replace(/\\/g,"\\\\")
+ " - " +
String(AddressesDDM.Fields("street").value).replace(/'/g,"|WA|").replace(/\\/g,"\\\\")
+ " )" +"'" + ";\n");

That is the piece of code that when I modify it to display more data in the
menu I get the error.

A


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews