Hi everyone,
I really need some help with a project I’m working on. I have a table in MySQL that I am querying to pull out some data.
This is the results I am getting from my query:
| fld_id | fld_vl |
| CLNT_NM | Motel1 |
| CLNT_MGR | Frank |
| CLNT_TMZ | EST |
What I would like to do is get a variable for each fld_id and populate it with the field value.
So, in essence it would look like this.
$CLNT_NM = ‘Motel1’;
$CLNT_MGR = ‘Frank’;
$CLNT_TMZ = ‘EST’;
How can I do this? I have tried to figure this out but I can’t seem to do it.
Any help you guys can provide would be greatly appreciated. THANKS in advance!!!