bennystromberg
01-09-2004, 08:29 AM
Hi,
I got a little problem and I would appreciate some help. I´m making a web application where administrators and the normal users are going to be redirected to different pages. I have a column called admin in my db that is either 1 or 0. If admin=1, then redirect to adminview.php else redirect to normalview.php. How can I code this in php?
Thanks!
I got a little problem and I would appreciate some help. I´m making a web application where administrators and the normal users are going to be redirected to different pages. I have a column called admin in my db that is either 1 or 0. If admin=1, then redirect to adminview.php else redirect to normalview.php. How can I code this in php?
Thanks!