I have a PHP script where i echo an iframe. I want a variable inside of that. I think this is the right script:
PHP:
echo "<style>body{margin: 0}</style><iframe
src='WEBURL.php?
nme=$db_name' style='height: 100vh; width: 100vw; border: none; margin:
0;'>";
HTML:
<?php echo $nme;?>
When i run the PHP script i get an error:
Notice: Undefined variable: nme
Whats wrong?