Redirect Question

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

By claire - November 19, 2014

All you should need to do is add the redirect to the end of the header location, like so:

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

<?php header('Location: https://website.com/'.$table1Record['redirect']); exit;?>

<?php endif; ?>

This assumes that $table1Record['redirect'] is 'redirect.php'. Does that make sense?

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By nmsinc - November 19, 2014

Thanks Claire - worked great!

nmsinc