[PHP-DB] mysql_query returning empty result after DELETE

2009-09-13 Thread Stan
I did a DELETE FROM picture where picture is a table in my database. Afterward, this piece of code does not generate an error -- try { $query = SELECT * FROM picture p . WHERE p.pictureFile=' . $pictureFile . ';

Re: [PHP-DB] mysql_query returning empty result after DELETE

2009-09-13 Thread Chris
Stan wrote: I did a DELETE FROM picture where picture is a table in my database. Because this deletes all your records - so doing a select afterwards will find nothing. Afterward, this piece of code does not generate an error -- try {

Re: [PHP-DB] Re: Need help-Send email

2009-09-13 Thread Chris
nagendra prasad wrote: Hi all, Below is the code that I have coded after replies from all of you. But before that I want to thank all of you for your help. I have coded the email code but still it is giving me an error. Please help me. ... and the error is what exactly? ?php //sending