Re: [PHP] MySQL empty row

2005-04-04 Thread Andy Pieters
On Monday 04 April 2005 18:45, Andy Pieters wrote: > After the ?> must be NO character, not even a CR or LF > Best way to check this is to put your cursor right next to the > and press > the left key.  If you r cursor moves then press left followed by del.  Keep > pressing the del key until all the

Re: [PHP] MySQL empty row

2005-04-04 Thread Andy Pieters
Hi Neo Just some observations and hints. I see you use the contents of a user variable ($_POST,$_GET,$_REQUEST, $_SESSION) without check. Possibly you checked them on another page but you shouldn't rely on that. You should take NOTHING for granted. You should escape the input by using a funct

[PHP] MySQL empty row

2005-04-04 Thread Neo Theone
Until some time I could make a new empty line in mysql with this query: INSERT INTO `".$_SESSION['type']."`() VALUES () where $_SESSION['type'] was the table I wanted to use but now I get an error and since I use DB I just get this error INSERT INTO `authors`() VALUES () *Warning*: Cannot modify