Re: using a define value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxxxxxxxxxxxx | "La persona más patética del -------------------------------+ mundo es alguien que tiene | vista, pero no visión". | | -- Hellen Keller

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux