I'm having some problems with this code in PHP echo, I want if variable if empty then show an image name "no-registrado.png"
<?php echo $registro ?: "no-registrado.png"; ?>
the error: Parse error: syntax error, unexpected ':' in /Republica-Dominicana/negocios.php on line 199
<img src="../imagenes/admin/<?php echo $registro ?; "no-registrado.png" ?>" Alt="Registrado" title="Registrado" width="20" height="20"/>