define('') with a $var
Posted: Tue Sep 14, 2004 7:32 pm
Why is it:
Works on my personal server.
But doesn't work on my work server?
The error:
Code: Select all
<?php
define("UPDATED_USER","You have successfully updated the profile for $name.");
?>But doesn't work on my work server?
The error:
Code: Select all
Notice: Undefined variable: name