Jump to content

How To Extract Data To Display In Html Page For Product Information?


sunicani

Recommended Posts

how to extract data to display in html page for product information?any experts here, I have a question?if I want to access to MySQL database, then to get(extract) data parameters for product information listed herein below,ProductName:ProductDescription:Brand:Price:how can I fulfill that function?maybe Javascript function needed?Thanks a lot

Link to comment
Share on other sites

If you only want to use JavaScript, you'll need to store your product data in xml files and learn to use them, or use AJAX xmlhttprequests, or learn PHP. PHP is the best for dealing with MySQL databases - you just build a query as you would at the command line/PHPMyAdmin window, and send it. If you go the php route, I can give you examples of how to make and use the queries you need.

Link to comment
Share on other sites

If you only want to use JavaScript, you'll need to store your product data in xml files and learn to use them, or use AJAX xmlhttprequests, or learn PHP. PHP is the best for dealing with MySQL databases - you just build a query as you would at the command line/PHPMyAdmin window, and send it. If you go the php route, I can give you examples of how to make and use the queries you need.
Yeah! good news, mate. Thank you very much. I take your advice and, can you give me examples and guide me via PHP? Thanks, Mate!
Link to comment
Share on other sites

I need to know what fields are in the tables you are using to store product information, and then what conditions you have to displaying it, and what exactly you want to display each time.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...