...

View Full Version : error on if else jscript statement



chris_angell
08-18-2005, 11:06 AM
Hello I am trying to get this IF ELSE statement working, but it is coming up with errors (error 500) :( can anyone see where I have gone wrong... i am using jscript .. many thanks chris


if (Request.form("Keywords")<>"") {
xmlFeed.load(xmlDoc +"mkt=uk&adultFilter=clean&maxCount=10&outputCharEnc=latin1&keywordCharEnc=latin1&Partner=creativestudio_xml_uk_searchbox_test&Keywords=" + xmlQuery );
}
else
{
xmlFeed.load(xmlDoc +"mkt=uk&adultFilter=clean&maxCount=10&outputCharEnc=latin1&keywordCharEnc=latin1&Partner=creativestudio_xml_uk_hotspot_test&Keywords=" + xmlQuery );
}

Kor
08-18-2005, 01:13 PM
try
if (Request.form("Keywords")!="") {



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum