Database Integration with Website X5 Pro 11
Author: K. Scicluna
Visited 5268,
Followers 1,
Shared 0
I am looking to build a travel website which will require various data to be stored in databases (my SQL or Access) and displayed on the website through drop down menus, search menus, etc.
Does website X5 support this sort of integration and if it does can anyone guide me to some help websites which explain how to make this integration?
Thanks
Konrad
Posted on the
Hello Konrad,
WebSite X5 can write to MySQL databases by default. It does not have any native ability to read from them.
You can insert PHP code manually in the HEADER, HEAD or BODY sections of a WebSite X5 page, or alternatively you can use the HTML Object. Your PHP scripts can access the MySQL database(s) that WebSite X5 has written to quite easily. You can then display the data which you have pulled from the database in Text or Table Objects, etc.
If you want to add drop-down menus and search features then these would have to be added manually too.
Overall you need to have a good basic grasp of PHP/MySQL/HTML to accomplish what you would like to achieve, but there is plenty of useful information available on the internet to help you do so.
Try Googling 'PHP and MySQL' to begin with.
Kind regards,
Paul