ciao a tutti,

la mia disperazione è arrivata al limite!!!

ho un database semplice con "nome" e "cognome" e vorrei fare una pagine con chronoconnectivity che visualizzi una barra di ricerca in cui si inserisca il nome e vengana restuito l'elenco delle persone con quel nome.
Ho creato una nuova connessione e:
1- in WHERE SQL ho inserito questo codice
<?php $nome=JRequest::getString('nome','','post');
echo "WHERE 'nome'='$nome' ";
?>
2- in header ho:
<?php
$nome=JRequest::getString('nome,'','post');
?>
<input type='text' name='nome' id='nome' value='<?php echo $nome; ?>' />
 
<input type='submit' name='submit' id='submit' value='Invia'/>
<table border="1">
<thead>
<tr>
<th style='width:250px;'>Cognome</th>
<th style='width:250px;'>Nome</th>
</tr>
</thead>
3- in body ho:
<tr>
<td>{nome}</td>
<td>{cognome}</td>
</tr>
4- e nel footer semplicemente
</table>
Il problema è che mi visualizza la barra di ricerca e il tasto "Invia" ma non viene effettuata la query al database...

Qualcuno ha qualche idea del perchè?
Ringrazio anticipatamente tutti quanti per l'attenzione.
Ciao ciao
