david.landy at somerfield.co.uk wrote: >Thanks for the extra pair of eyes... ;)) > > > >>Are you sure you are retrieving and checking the same result set? >> >> >Yes, that was a typo, sorry. I thought I'd removed all rs.rs and replaced >them with rs for simplicity but I forgot one. > > > Can you resend the corrected snippets (if you can expand to include the query preparation bit, it would be better) -- Raditha Dissanayake. --------------------------------------------- http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits.