I have a database with the following table:
Product_table
The product table has 3 columns; product_name
, product_info
, and product_cost
I need to query the database in order to pull all product names out, and put them in an array.
I know the SQL is 'SELECT product_name FROM product_table'
but I don't know how to implement that in javascript.
Any guidance would be greatly appreciated