XF 2.1 Insert into database from an sql script

abdfahim

Well-known member
The idea is to include an option in my Addon to browse and execute an SQL script file (from ACP, of course) containing only INSERT statements in order to populate my custom table. Is that a recommended approach? Any checks I should perform?

I need to insert new data to my table on a regular basis.
 
Top Bottom