|
-
Nov 23rd, 2010, 01:37 PM
#1
Thread Starter
New Member
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.
-
Nov 23rd, 2010, 03:06 PM
#2
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
-
Nov 23rd, 2010, 10:53 PM
#3
Re: Some Help Please..
Hi Rawwr... Welcome to the forums...
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...
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
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
|