[thelist] Help Finding & Fixing VBScript Error... Continued

Administrative HQ english_offline at yahoo.com
Sun Mar 13 12:25:47 CST 2005


Hello.

I seem to have managed to get by all the error notices
except one (I hope). I'm almost to the end of the
page, so there can't be many more (famous last
words?).

Right now, I'm getting:
********************
Microsoft VBScript compilation error '800a0400' 

Expected statement 

/pay_paypal.asp, line 366 

<%end if
^
*********************
(WARNING: LOOKS LONG BUT MOSTLY IRRELEVANT)
The code follows (to the end of the page). Actually,
most of this is not necessary for this page and is
supposed to be commented out. However, if I delete all
that part, I get an error notice further up (and who
knows what would follow that one?). Therefore, since
this stuff doesn't hurt either, I thought it might be
easiest to leave it as is and just try to finish the
page so it will come up. I've tried all kinds of
things to end it but nothing has worked...something
needs closing off. AS NOTED, THE PROBLEM IS ON LINE
366:
********************
328 <!--<td align="left" bgcolor="#88ddff">Your email
address:<br>
329               <font size="1">&nbsp;</font></td>
330             <td valign="top">&nbsp;
331               <input size="20" TYPE="TEXT"
name="email" id="email" value="<%=request("usrname")%>
332            </td>
333           </tr>
334           <tr>
335			<td align="left" bgcolor="#88ddff">Item
Name:<br>
336 			<font size="1">&nbsp;</font></td>
337 			<td valign="top">&nbsp;
338			 <%if request("cd")="y" then
339			select case ucase(request("CdLang"))
340			case "HE"
341			
342 			%>
343			
344 			<!--<INPUT TYPE="text" disabled NAME=""
VALUE="CD HEBREW">
345			
346			<INPUT TYPE="hidden" NAME="item_name"
id="item_name" VALUE="CD HEBREW">
347			<INPUT TYPE="hidden" NAME="item_number"
id="item_number" VALUE="12">
348			<%
349			case "ES"
350			%>
351			
			<INPUT TYPE="text" disabled 352 NAME="" VALUE="CD
SPANISH">
353			
			<INPUT TYPE="hidden"                               
      354 NAME="item_name" id="item_name" VALUE="CD
SPANISH">
			<INPUT TYPE="hidden"       355 NAME="item_number"
id="item_number" VALUE="13">
356	
357			<%
358			end select
359	        
360 			else%>
361			<INPUT TYPE="text" disabled NAME=""
VALUE="Course">
362			<INPUT TYPE="hidden" NAME="item_name"
id="item_name" VALUE="CD EN">
363			<INPUT TYPE="hidden" NAME="item_number"
id="item_number" VALUE="1">
364				<input TYPE="HIDDEN" NAME="Language"
id="Language" VALUE="EN">
365			<%
366			<%end if%>
367			
368			
369			</td>-->
370          </tr>
371         <!--
372          <tr> 
373            <td align="right" bgcolor="#88ddff"
valign="top">Postal Address:<br>
374              <font size="1"></font></td>
375            <td valign="top">&nbsp;
376              <textarea ROWS="3" COLS="14"
NAME="Customer Address"></textarea>
377            </td>
378          </tr>-->
379          <tr> 
380            <td align="center" bgcolor="#88ddff">
381	<INPUT type="button" value="Send" id=snd name=snd
LANGUAGE=javascript onclick="return snd_onclick()">
382            </td>
383            <td>&nbsp;</td>
384          </tr>
385       </table>
386      </form>
387  <SCRIPT LANGUAGE=javascript>
388<!--
389
390 window_onload();
391 //-->
392 </SCRIPT>
393   
394
395 </html>
********************
(As mentioned somewhere, I didn't write this code).

Can anyone see how to close this (with whatever
statement the boss expects)?

Any and all assistance will be most appreciated. 
Thanks very much.

Regards,
David



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search. 
http://info.mail.yahoo.com/mail_250


More information about the thelist mailing list