I cannot figure out how to select multiple columns and a comma separated column.
I have:
Table: example_tbl
| amount | recurring | frequency |
| 100 | 150 | 8,monthly |
| 200 | 250 | 1,annually |
The problem seems to be with the frequency and the comma. I tried:
$q = mysql_query("SELECT amount, recurring FROM example_tbl WHERE id=".$item['relid']." LIMIT 1" AND * FROM example_tbl WHERE FIND_IN_SET ('monthly', frequency));
Any help would be appreciated.