Can I use this syntax in sc_select?
sc_select(my_data, "select * from clientes");
if ({my_data} === false)
{
echo "Access error. Message =". {my_data_erro};
}
else
{
while (!$my_data->EOF)
{
{clientid} = $my_data->fieldname[clientid];
$my_data->MoveNext();
}
$my_data->Close();
}
This file with 200+ fields (auto-gen & might increase later) and need to use about 60 fields and is hard to calculate the position of the field.
My question is, how to use the field name ($my_data->fieldname[clientid]) rather than $my_data->fields[number] syntax?
Regards,
CK