How to upload multiple image in one record database SQL?

Once you’ve migrated to either mysqli or PDO you need to use prepared statements to eliminate the risk of sql injection attacks, right now you’re code is wide open to sql injection attacks