PHP: If one clear member, redirect to user profile
<p>Yes so i want to, in the search results, if there´s one that matches completly of what you have entered, then it should go to profil.php?id=$row[id]</p>

<p>I tried by doing this:</p>

<pre><code>$full_name = mysql_real_escape_string($_POST["search"]);
$Matchy = $get["firstname"] . " " . $get["lastname"];
    if($full_name == $Matchy){
    echo "redirect me";
    }
</code></pre>

<p>Is this ok? It seems to work, but maybe there's a better solution for doing this?</p>

<p>And how do I redirect without using header, as it already begun at the top..?</p>
