I need a php script that parse info from a web site and organize these elements into arrays.
The web site is an online food order system, and i want to copy all menu items with their opitons, below there are example restaurant pages that may be proccessed:
You can browse as many restaurant pages as you wish, your script should work with all restraurant pages with menus.
I want following tables as arrays after proccessing;
1. categories: id, name
2. products: id, category_id, name, info, price, options(array)
3. options: id, name, type (one or multiple choice)
4. options_values: id,option_id, name, price
option system in the website is a little tricky, we have to combine some options into one in order to fit in our table. please investigate the web site carefully and please ask any questions before bidding.
thank you for reading my project.