encontre esto:
Código PHP:
<script>
< % contador = 1
while (not rs.eof)
if rs(0) <> "" then
if contador() <> rs.RecordCount+1 AND contador > 1 then
conjunto = conjunto & ","
end if
conjunto = conjunto & "'" & rs(0) & " - " & codigos(1) & "' "
end if
contador = contador + 1
rs.movenext
wend % >
</script>
pero me da este error... al igual que la ayuda anterior...
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'contador'
/v1/temp/Default.asp, line 19