Search the Community
Showing results for tags 'pdo insert'.
Hi Larry, As mentioned elsewhere, I am upgrading all my database actions to PDO. I use the PHP scripts for database backup and restore which you have provided - they are very useful and have served me well. I have upgraded the database backup to PDO no worries but now I'm coming to the restore. The PDO "inserts" will need to handle a variable number of fields of varying/unknown data types. Are there any 'best practices' for this type of PDO INSERT / field binding? Looking forward to your advice and thank you in anticipation, Cheers