Search code examples
phpdatabasephpfox

How to include external database in phpfox


I want to select some information from other server database into my existing phpfox project.Please help me out this how I can manage it.

Thanks In Advance


Solution

  • ADDING ADITIONAL TABLES TO PHPFOX DATABASE IS OK TECHNICALLY (It may void your warranty, check that before you proceed): Its alright to try to get other data from another external database to your existing PHPFOX project. What I would do, is import your new table into existing working dabatase. Lets say you import a table with data into a newly created table inside the PHPFOX database. Then you can access it directly with your credentials already setup. (No need to open a new database). For instance, you have Drivers Licence information for each user, then you could easely link up driver licence records to any other template page that you develop. I have done it with ID tables to display real ID names next to the ones users input to verify is a user is not using his real profile. You can add as many tables as you wish inside your PHPFOX database, as long as you dont mess with the structure. Even you can add columns to existing tables. What you cant do is remove tables o columns already existing ones. Let me know if you need any further support. Good Luck