Revolutsio Posted July 6, 2020 Share Posted July 6, 2020 Hi I was just wondering would it be possible to create a database from a input statement and array, if so would it be also possible to create a table with fields the same way? Quote Link to comment https://forums.phpfreaks.com/topic/311038-using-an-array-to-create-database/ Share on other sites More sharing options...
gw1500se Posted July 6, 2020 Share Posted July 6, 2020 Yes, you can program PHP to do anything with a database that you can do manually. However, I suspect that is not really what you are asking. Be more specific about what you want to accomplish. Creating databases and tables from PHP requires privileges. You are getting into an area where you need to be extremely careful security-wise to prevent unintended consequences. Quote Link to comment https://forums.phpfreaks.com/topic/311038-using-an-array-to-create-database/#findComment-1579399 Share on other sites More sharing options...
Revolutsio Posted July 6, 2020 Author Share Posted July 6, 2020 Thank for you reply It was just query if it was possible. I was going to use it only for me Quote Link to comment https://forums.phpfreaks.com/topic/311038-using-an-array-to-create-database/#findComment-1579402 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.