Ik wil in mijn script hebben als iets niet is gevonden dat het aangegeven wordt.
Bijv; Artiest bestaat niet
Hoe plaats ik de echo bij de volgende code
Bijv; Artiest bestaat niet
Hoe plaats ik de echo bij de volgende code

[COLOR= #0000BB]<?
$sql[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM `nederhop` ORDER BY naam ASC"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$artiest8[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700])){[/COLOR]
?> 