0

Whats wrong with this code I want to redirect to page if there is a form input match or echo iframe if its not a match!

<?php

$stringname = "fieldname"

if(trim($stringname) == "fieldname") {

<?php header ("Location: https:www.google.com/"); ?>

}

else { echo "Iframe code here"; }

?>
Yakov Galka
  • 70,775
  • 16
  • 139
  • 220
Alle
  • 1

0 Answers0