Hello, I need some help coding a script that does the following:
1) Query a table and grab all results from that table matching the criteria - This is the query that works:
SELECT * FROM table WHERE status='0'
2) Take all results and place into variables that can be inserted into text email
Example: lets say the results are 3 records, each record contains 4 fields.
3) Email - insert the results into an email
I've tried some things but not structured properly. Would like to see proper build of this....THANKS FOR ANY TIME AND HELP TO THIS.