Jump to content

Mysql results


idgeit

Recommended Posts

Hey all,

 

Im trying to figure out what is the best way to do this,

 

$query = 'SELECT products.product_title, products.product_dis, products.product_id, products.product_price, products.product_pic FROM products';

 

Thats what it will be returning, but I basically want to put each result onto a separate line and add

a little formatting ect,

 

Is it some kind of for loop i should be using to repeat the formatting process with the results?,

 

Any help is great!

 

~ Idgeit

 

 

Link to comment
https://forums.phpfreaks.com/topic/43255-mysql-results/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.