Answers for "use of undefined constant name - assumed"

PHP
0

use of undefined constant name - assumed

#if you forget to put $ before a variable name that will cause this error
<?php
  $name = "Ahmed";
  echo name; #this will cause use of undefined constant name - assumed
  echo $name; #this will fix the error
Posted by: Guest on August-08-2021

Code answers related to "use of undefined constant name - assumed"

Browse Popular Code Answers by Language