# Entering a mySQL table value in PHP coding

**URL:** <https://forum.kirupa.com/t/entering-a-mysql-table-value-in-php-coding/255011>\
**Category:** Uncategorized\
**Created:** [March 18, 2008, 8:29am UTC](https://forum.kirupa.com/t/entering-a-mysql-table-value-in-php-coding/255011 "2008-03-18T08:29:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikeFalcor](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@MikeFalcor](https://forum.kirupa.com/u/MikeFalcor)\
**Post date:** [March 18, 2008, 8:29am UTC](https://forum.kirupa.com/t/entering-a-mysql-table-value-in-php-coding/255011/1 "2008-03-18T08:29:14Z")

</div>

Basically, I have followed [this](http://www.phpeasystep.com/workshopview.php?id=6) 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

```php
                                       header("location:login_success.php");

```

line with

```php
                                       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!
