Entering a mySQL table value in PHP coding

Basically, I have followed this tutorial to make a very simple login area for my web design clientèle, although not exactly to the ‘T’, so to say. I have entered a third column in the table called ‘redirect’ and would like for someone to help me create just that. It should be VERY easy to do.

Basically, I would like checklogin.php to read the value of redirect and change the

                                       header("location:login_success.php");

line with

                                       header("location:REDIRECTVALUEHERE/index.php");

Anyone able to help me out? I am above par with Flash, HTML and most basic PHP scripting, but using mySQL and PHP to parse vars is way beyond my capabilities atm. :red:

Thanks in advance!