Hi. Just got a couple of quick questions about php with mySQL.

Firstly, if I perform a query, I know I can get an error back if there is an issue with the connection, but would I get an error back if I make a mistake like have an incorrect column name in my insert query? Everything seems to be happening for me, no error or anything, but data not going into table (I have checked that connection is good, and variables I am inserting hold values).

Secondly, could sessions cause an issue with performing an insert statement?

Reason I ask the second question is because once in a while, it will allow me to insert a record, but normally only if my table is empty.

any advise appreciated