tu mi hai chiesto come leggere questi valori.. non come inserirli in una stringa...
l'errore che ti segnala è solo un errore di sintassi, di parsing.. non logico..
$query = " select * from registeredusers where uid = '{$_POST['useid']}' and pwd = '{$_POST['pwd']}' ";
oppure semplicemente
$query = " select * from registeredusers where uid = '".$_POST['useid']."' and pwd ='".$_POST['pwd']."'";
![]()



Rispondi quotando