If I connect to a database, and so something like Select some fields from a table. Could I just use the field names as variables? or do I need to do something else first? Like:
sql_query(select field_one, field_two, field_three from table_name where field_one="001");
echo "<h1>field_one<br>field_two<br>field_three<br></h1>";
and have it display the results?
001
This is field 2
Contents of field 3
please help 🙂 I've looked around for info on displaying database results and haven't found anything.