I am inserting into a table from SELECT field1, field2, but only field1 is populated not **field2.
$query_settings =
"INSERT INTO email_sent (field1, field2)
SELECT field1, field2
FROM field_id
WHERE id='$x'";
What possibly could I be missing?
Check the data types of the respective
field2columns: there may be some implicit type conversion taking place that’s truncating the data.