php - Duplicating a mysql row with null variables -
I have a table with multiple columns I have a function that has an update in my new line Duplicated with auto-incremented ID. The function, however, on some of my INT columns, sometimes I have a tap as the default when the record is repeated, it changes my null placement to 0. I am assuming this because I am assuming "code". '' Can anyone help me how i value zero value ".null." I can include as and my other values are ''. Value '. ' ? Edit I am having trouble in differentiating a null and a blank value. I have tried empty () and is_null () and with no value a varchar and INT is not showing a difference with a zero value Note : I understand that I am using an old MySQL extension. For now, I'm just trying to process my tap variable properly. Function DuplicateTorrent ($ table, $ id_field, $ id_value) {// Copy copy of the record you wish to clone $ unit = mysql_fetch_array (mysql_query ("Select * From {$ table}...