Hi All,
I have been given a few CSV files that i need to import into a MySQL database, i have done this and imported the data etc etc, the data is simple and straight forward its just "Firstname" , "Lastname" & "Email" the problem is however the script i have written checks for a valid email syntax etc and is failing verification on 'ALL' the email addresses in the database, the code works fine i think its the data in the MySQL database itself as it looks like this:
mysql> SELECT Email FROM customer_contacts LIMIT 0, 20
+----------------------------------+
| Email |
+----------------------------------+
|noz42@hotmail.com
|olm_abraham@yahoo.co.uk
|ks@virgin.net
|lanning.com
|icecorp.co.uk
|nald@yahoo.es
|charlotte.alderson@efeurope.com
|andy.aldrich@belugaonline.co.uk
|mohammadalgamgir142@hotmail.com
|
|hassani.net
|cat2000@yahoo.com
|ac.uk
|yonepaulallen@yahoo.co.uk
|1@yahoo.com
|i@aol.com
|
|hoo.co.uk
|l.com
|chael.archer69@ntlworld.com
+----------------------------------+
20 rows in set (0.00 sec)
The data didnt go into the DB like that and is properly formatted in the CSV file does anyone have any other idea's as to what is causing this ?
Many thanks in advance for any help
:bemused: