How do i pull data from MYSql and assign it into a variable?

For example,

I want this

char filter_exp[] = ""

"" = Whatever is in the Setting Table that has a field name Protocol.
E.G = TCP, UDP, ICMP
Topic archived. No new replies allowed.