Hi all,
According with the documentation, the macro sc_lookup() set variable dataset_erro when some SQL error happened, but when i try to use {dataset_erro} to get this error message, appear “Undefined variable: dataset_erro”.
The example that appear in the documentation is:
if ({my_data} === false)
{
echo “Access error. Message=”. {my_data_erro} ;
}
I try to use {my_data_erro} but happened same, “Undefined variable: …”
Thanks for clarify if is and bug or bad documentation.
Regards.
AYMG