Forums
This topic is locked
SQl Data
05 Apr 2004 13:58:54 Reg Coles posted:
Got an Sql database, need to create a login page where users use one password stored in database to login and then go to next page which shows info relating to that user. Tried different methods but getting stuck, quite new to Sql queries. Replies
Replied 06 Apr 2004 17:08:53
06 Apr 2004 17:08:53 Reg Coles replied:
got it all sorted - Thanks
Replied 14 Apr 2004 16:57:59
14 Apr 2004 16:57:59 Reg Coles replied:
Thought I got it sorted but only half of it. Can bring their username across via session variable but need to display other data relating to that person but geting stuck on how to display the other data relating to the username. Any help will be grateful.
Replied 15 Apr 2004 02:50:59
15 Apr 2004 02:50:59 Dave Thomas replied:
create a recordset and filter it by session variable "MM_UserName" if your doing it with a session.
that'll seperate each persons data for display on their own page.
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
that'll seperate each persons data for display on their own page.
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 15 Apr 2004 13:54:15
15 Apr 2004 13:54:15 Reg Coles replied:
Don't want to sound stupid, I can show the username on the next page by using the session variable but how do I show other details of that person.
Example: like logging onto dmzone and when you submit your login details you go straight to your profile page.
So your login retrieves data and shows it on the following page.
Thanks
Reg
Example: like logging onto dmzone and when you submit your login details you go straight to your profile page.
So your login retrieves data and shows it on the following page.
Thanks
Reg
Replied 15 Apr 2004 14:24:54
15 Apr 2004 14:24:54 Vince Baker replied:
on the user details page, create a recordset that will obtain all the users details. You will see in the recordset creation window that you have the function to filter the recordset on a value. This value can be a session variable. Just change the session variable to MM_Username and you will get just the info for that user.
Regards
Vince
Visit my home: www.chez-vince.com
VBScript | ASP | HTML | SQL | Oracle | Hosting
Regards
Vince
Visit my home: www.chez-vince.com
VBScript | ASP | HTML | SQL | Oracle | Hosting
Replied 15 Apr 2004 15:46:55
15 Apr 2004 15:46:55 Dave Thomas replied:
then in your bindings panel, drag the info on to the page that you want displaying from your database table.
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 15 Apr 2004 15:52:47
15 Apr 2004 15:52:47 Vince Baker replied:
We will finally explain this together Dave....
lol
Regards
Vince
Visit my home: www.chez-vince.com
VBScript | ASP | HTML | SQL | Oracle | Hosting
lol
Regards
Vince
Visit my home: www.chez-vince.com
VBScript | ASP | HTML | SQL | Oracle | Hosting
Replied 15 Apr 2004 16:04:45
15 Apr 2004 16:04:45 Dave Thomas replied:
<img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle> <img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle> <img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 15 Apr 2004 16:21:10
15 Apr 2004 16:21:10 Reg Coles replied:
Thank You
Thank You
All working great now.
It's the old saying "if you don't ask you'll never know or learn"
Cheers
Reg
Thank You
All working great now.
It's the old saying "if you don't ask you'll never know or learn"
Cheers
Reg