Redirect Question

3 posts by 2 authors in: Forums > CMS Builder
Last Post: November 19, 2014   (RSS)

By nmsinc - November 18, 2014 - edited: November 18, 2014

I have a need to redirect users based on a record field. If the field has a value; let's say that value equals "redirect.php"

I need that value to be added to the end of the header URL script below - how can this be done?

Thanks - nmsinc

<?phpif($table1Record['redirect']):?>

<?php header('Location: https://website.com/'); exit;?>

<?phpendif; ?>

nmsinc

By nmsinc - November 19, 2014

Thanks Claire - worked great!

nmsinc