I have this PHP script:
$sql = “SELECT id FROM superintendent WHERE active = ‘no’”;
$result = mysql_query($sql) or die(“Couldn’t get file list”);
while($row = mysql_fetch_row($result))
{
echo ($row[0]);
}
Of course, the echo displays all id that are set to active = ‘no’. But how can I get only ONE result.
Something like echo(i dont know what) and will only display ONE id; not all of them.
Thanks in advance,
Leo :hair: