Re: using a define value

From: Date: Thu, 22 Apr 2004 23:08:26 +0000
Subject: Re: using a define value
Groups: php.db 
Request: Send a blank email to php-db+get-34054@lists.php.net to get a copy of this message
Then, is not possible to use a definition table for errors or equivalents?. It must be a variable value or a hash? I am using this for error messages after a CGI execution. That is why planning to use a code for error, and definition table show the specific message. Like "http://myphppage.php?error=ERROR1"
[snip...] But while trying to be called based on parameter, is not possible to call them via:
    $myerror = "ERROR1";
That would be $myerror= ERROR1;
    echo "<strong>ERROR"._$myerror."</strong>";
... and that would be echo "<strong>".ERROR."._$myerror."</strong>";
-- saludos, J. Alejandro Ceballos Z. | ---------------------------+--------------------------- http://alejandro.ceballos.info | buzon@alejandro.ceballos.info | "La persona más patética del -------------------------------+ mundo es alguien que tiene | vista, pero no visión". | | -- Hellen Keller

« previous php.db (#34054) next »