Hi, I'm currently trying to get a site script where the content is pulled from a mysql db Im having trouble wiht one part though thats supposed to redirect to a phpbb forum and/or any other link in a directory.
Page displays but doesnt redirect.
<?PHP
include("includes/mySql.php");
connect_mySql('votfcouk_cms');
$get = select_query_mySql("*", "votf_cms", "page", $page);
$info = mysql_fetch_assoc($get);
$pagelist = "select page, linktext, linkpriority from votf_cms order by linkpriority";
$pagelist_res = mysql_query($pagelist,$conn) or die(mysql_error());
$linkto == $info['linkto'];
$islink == $info['islink'];
if($islink == yes) {
header("Location: ".$linkto."");
}
else
{
?>
HTML
<?PHP } ?>
Everything worked fine until I added the linkto and islink stuff.
Any help would be appreciated. Thanks