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:
[url removed, login to view](Sekerpinar)---Istanbul/4246874c-92ae-46f4-8f64-502a58b51e69/TR_ISTANBUL/[url removed, login to view]
[url removed, login to view](Yayla)/91c53117-9255-44f6-8c54-376dd85d8da0/TR_ISTANBUL/[url removed, login to view]
[url removed, login to view]
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.