PHP - Superglobals and Web Context
Identify the error in this code snippet:
<?php $name = $_GET[name]; echo $name; ?>
<?php $name = $_GET[name]; echo $name; ?>
$_GET[name] is invalid.$_GET['name'] with quotes to access the key properly.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions