Jump to content

[SOLVED] insert select statement incorrect for email addresses


jasonphd

Recommended Posts

insert into t1(f1,f2,f3)
select f1, f2, f3 from t2

 

I have code like the above.  F2 is an email address that looks like '[email protected]'.  What actually gets inserted is just 'bla'.  Only stuff before the first "." gets inserted.

 

I'm issuing the command via php's mysql_query function.

 

Is there a way to make it ignore special characters?  Am I doing something wrong?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.