I want to retrieve emails in a text file and insert these emails in SQL queries to deal with.
Problem is that above query does not work. emails are not deleted from database.Code:Here is my case: $ fp = fopen ( "$ file", "r") / / We open the file while (! feof ($ fp)) ( $ line = fgets ($ fp, 255) / / It gets the lines of the file (emails ..) mysql_query ( "UPDATE members SET email = NULL WHERE email = '$ line'"); echo $ line. '<br />'; )
Can you help me ?
Thanks
Bookmarks