" ... How d'ye expect your insertRecord method to know what $db is? ..." $db = new MyDB(); $db is the handle to the database as shown at the top of the script. Thanks R
" ... How d'ye expect your insertRecord method to know what $db is? ..." $db = new MyDB(); $db is the handle to the database as shown at the top of the script. Thanks R