-
Some Help Please..
Hi.
I'm trying to make something so it outputs the following :
Code:
(55, 0, 2, '', 0, '92.238.50.38', 1290532303, 'name', 'name', '$H$96/cIhol2oc0jOSKeio2.O9Moarxaq0', 1290532303, 0, '[email protected]', 273321771326, '', 0, 1290532303, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 'en', '0.00', 0, 'D M d, Y g:i a', 1, 0, '', 0, 0, 0, 0, -3, 0, 0, 't', 'd', 0, 't', 'a', 0, 1, 0, 1, 1, 1, 1, 230271, '', 0, 0, 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'f2e5c17bdf276feb', 1, 0, 0);
I have three listboxes.
ID
Name
Email
i need it so it goes through the id & name & email list according. and stored into a text file
How can i do this? Any help is seriously appreciated.
Reason why i need to do this is i messed up my 40k user forum converting to a different forum platform without backing up >.< this is the only way i can get my site back up.
-
Re: Some Help Please..
Welcome to the forums. Can you describe this better?
1) You have a ton of info in your sample data. You have a way of printing that info out too?
2) So your 3 listboxes... They have the same number of listitems in all 3? If so, use a simple loop, something like this:
Code:
Dim I As Integer
' open a file handle
For I = 0 To ListID.ListCount - 1
' print out the other data before you get to ID
Print #fileHandle, "'"; ListID.List(i); "', "; ' the ID
Print #fileHandle, "'"; ListName.List(i); "', "; ' the name
' print out other data between name & email
Print #fileHandle, "'"; ListEmail.List(i); "', "; ' the email address
' print out other data between email address & end of your data
Next
Close #fileHandle
-
Re: Some Help Please..
Hi Rawwr... Welcome to the forums...:wave:
I think you are recreating the member table of your forum database, by simply replacing the name, email and ID.
That doesn't looks like a good approach.
There has been other datas like, the IP from which the user had registered (6th column), date of join (7th column, I think), hash value of password (8th column), etc...