GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 01-May-2004, 23:00
PCHACKER PCHACKER is offline
New Member
 
Join Date: May 2004
Posts: 2
PCHACKER is on a distinguished road

Conditional Page Load (and DB Insert) Inquiry...


I am decent at the VERY basics, but not sure about this one.

I have a table (registered_user user_name varchar(30)), and a registered_login (user_name, timestamp)).

Desired action...

User types in login, system looks to see if login exists in db (select count(*) from registered_user where user_name = ?login) and if so, log the entry into the db (insert into registered_login (user_name) VALUES (?user_name), and then goto the next page, but if not, go to another.

This is probably elementary to most, just foreign to me (and I don't want that hokey IE error that pops up; I want to design the "you can't be here" page myself).

Any and all help would be appreciated.

Thanks in advance,
ST
 
 

Recent GIDBlogToyota - 2009 May Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 00:56.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.