How do I fetch and echo in php some data from a database called "somename", table "options", column "value" from all the rows which have the "name" starting with "dt_"
database name: "somename" database table: "options" database existing columns: "name", "value" database existing rows: "something1", "something2", "dt_option1", "dt_option2", "dt_option3"
database column i want: "value" database rows i want: "dt_option1", "dt_option2", "dt_option3"
I want the result to look like:
dt_option1 - 3432
dt_option2 - on
dt_option3 - off
dt_option_something - value
I tried and googled everywhere, I can't figure it out cause I am new to this.. Thank you for any help..
P.S. I just need the query and the echo..