Anybody with suggestion on what am i doing wrong here (probably a lot, total newb in php):
In the form tag i have:
<form name=”form” action=”index.php?s=1″ method=”post”>
<input type=”text” name=”q” … etc
in the center <div> i have:
<?php
if($_GET[‘s’]==1) {
$file =”search.php?q=” . $
include($file);
break;
} else {…. etc switch cases for a menu)
and the php part in search.php starts with
$var = @$_GET[‘q’] ;
What i’m trying to do is open the results from the search form from search.php in the <div> where the switch cases are. Switch cases works, the search.php opens fine if its pointed to a