|
-
Aug 13th, 2002, 01:51 PM
#1
Thread Starter
Fanatic Member
URGENT Remove empty cells from an array
Is there a way to remove the empty cells from an array...
when i display my array like this:
sNums = split(sNums,",")
then each text box contains the array indexes like this:
<input name=text1 id=text1 value="sNums(0)">
<input name=text2 id=text2 value="sNums(1)">
-
Aug 14th, 2002, 03:50 AM
#2
Re: URGENT Remove empty cells from an array
Originally posted by JohnSmith
Is there a way to remove the empty cells from an array...
when i display my array like this:
sNums = split(sNums,",")
then each text box contains the array indexes like this:
<input name=text1 id=text1 value="sNums(0)">
<input name=text2 id=text2 value="sNums(1)">
Try something like this
<%
if isnull(snums(0))=false then
%>
<input name=text1 id=text1 value="sNums(0)">
<%
end if
%>
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|