You are here: search 2 tables to get different session « PHP Programming Language « IT news, forums, messages
search 2 tables to get different session

Posted by Carramba on 11/10/05 19:45

hello!

I have sipmle logging script that cechs is user exist in user_table and if
pasword is corect.
know I want to serch 2 tables user_table and admin_table to lock if person
is user or admin
if admin I want to set one kind of permitions (to se specific pages) if
user to se.
that is the best way to do it?
should I set session to "user_id" and "admin_id" to se who is logget in?




Thanx in advance
________________________

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация