How do you retrieve from database instead of hard code.
$products = array ( array ("item1", "item description 1", 12.50), array ("item1", "item description 1", 12.50), array ("item1", "item description 1", 12.50) );(
pls advise me.
Read this and download the free chapters. It will get you up and running in no time.
Or any of the relevant chapters in the PHP manual.