[PHP-DB] Error fetching a second row from a result set (mysql)

2014-11-14 Thread Mark Murphy
: Warning: mysql_fetch_assoc(): 40 is not a valid MySQL result resource in C:\Users\Mark Murphy\whiworkspace\spur\cron\import_bookings.php on line 89 Problem is that for the resource, the type is changed to Unknown by a different mysql_query within the loop. Any idea what will cause this? When

Re: [PHP-DB] Re: Code Security

2015-02-18 Thread Mark Murphy
@Taco, Read back through the whole thread and you will understand. Ethan just can't do what he wants to with PHP. On Feb 18, 2015 9:59 AM, Taco Mathijs Hillenaar-Meerveld tm.hillen...@gmail.com wrote: Sorry if i misread and put my reply in a wrong context. but from how i read this question it

Re: [PHP-DB] SQL injection

2015-06-21 Thread Mark Murphy
But what does your application do when it gets an invalid SQL statement? Maybe it is telling the attacker something important about your database so that they can compromise it with the appropriate injection. On 2:36PM, Sun, Jun 21, 2015 Lester Caine les...@lsces.co.uk wrote: On 21/06/15 18:55,