Re: [PHP] Inserting NULL Integer Values

2005-10-18 Thread Richard Lynch
$value2 = strlen($value2) ? $value2 : 'NULL'; On Tue, October 18, 2005 11:15 am, Shaun wrote: > Hi, > > Up to this point in time I used to construct my insert statements like > this > > $qid = mysql_query('INSERT INTO MYTABLE ( > column1, >

[PHP] Inserting NULL Integer Values

2005-10-18 Thread Shaun
Hi, Up to this point in time I used to construct my insert statements like this $qid = mysql_query('INSERT INTO MYTABLE ( column1, column2, ) VALUES ( "'.$value1.'",