in reply to Can't Insert Data To Multiple Table With DBI::Mysql [SOLVED]

INSERT INTO students_bio ( username, full_name, pob, dob, gender, addr, email, phone, high_school, school_dep, years)

Is field name addr correct or should it be address like the parameter name ?

poj

Replies are listed 'Best First'.
Re^2: Can't Insert Data To Multiple Table With DBI::Mysql
by pakeidoprek (Novice) on Jun 26, 2016 at 14:25 UTC
    addr is my field name in my tables, and i think it's doesn't matter if my variabel $address diefferent with parameter name :). the problem is, why only my first query for insert table run, then the 2nd and the 3rd query for the next table doesn't run :)