sunicani Posted August 7, 2009 Share Posted August 7, 2009 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 More sharing options...
chibineku Posted August 7, 2009 Share Posted August 7, 2009 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 More sharing options...
sunicani Posted August 8, 2009 Author Share Posted August 8, 2009 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 More sharing options...
chibineku Posted August 8, 2009 Share Posted August 8, 2009 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.