SELECT INTO and "Undeclared variable" error
MySQL does not support the SELECT ... INTO ...
syntax.
You have to use the INSERT INTO ... SELECT ..
syntax to accomplish there.
Read more here.. http://dev.mysql.com/doc/refman/5.0/en/insert-select.html
INSERT ... SELECT
http://dev.mysql.com/doc/refman/5.1/en/insert-select.html
INSERT INTO newsletter_to_send
SELECT id_subscriber FROM subscribers
PS: are you sure you don't need in WHERE
clause?