Indigo Rose Software
  #1  
Old 2 Weeks Ago
drummernath drummernath is offline
Forum Member
 
Join Date: Apr 2009
Posts: 46
Star some help needed with MySQL Plugin

hi, i have finally managed to connect to my users database and also send a query to retreive;

username, password, name, email

Quote:
users = MySQL.QueryToTable("SELECT id, username, password, name, email FROM userbase_users");
but how on earth do i search for a username in the table, then find the password that belongs to that username then check if it matches the ones entered in username and password textboxes and if it does jump to the next page where the name is required to greet the user, i am using MySQL Plugin

any ideas, thanks
Reply With Quote
  #2  
Old 2 Weeks Ago
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,901
Using your query 'as is' you'd need to scan thru the resulting table...
the 'right' way would be to use SQL to find it.

Code:
SELECT id, username, password, name, email FROM userbase_users where username="josh"
__________________
Reply With Quote
  #3  
Old 2 Weeks Ago
drummernath drummernath is offline
Forum Member
 
Join Date: Apr 2009
Posts: 46
Talking

thanks, i was up all last night and got it to work now, thanks
Reply With Quote
  #4  
Old 2 Weeks Ago
rexzooly rexzooly is offline
Forum Enthusiast
 
Join Date: Jul 2007
Posts: 1,515
Sorry i was not around to help lol whoms plugin are you using?
I am back online now so i see you on msn and i help on whatever i can lol
GOD i messed been on here lol i hate BT lol.
Reply With Quote
  #5  
Old 2 Weeks Ago
drummernath drummernath is offline
Forum Member
 
Join Date: Apr 2009
Posts: 46
hi, i got it working but still need help with other problem im new to custom mysql so i have yet to learn but so far im liking it.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 08:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software