In the statement
$query1 = "SELECT * from database1.table WHERE id = '$id'
the quoted string is not terminated and the statement is not complete.
How did this compile in the first place? Perhaps see Short, Self-Contained, Correct Example for another approach to preparing code for discussion.
Give a man a fish: <%-{-{-{-<
In reply to Re: dbi: moving big data among databases (prepared statements)
by AnomalousMonk
in thread dbi: moving big data among databases (prepared statements)
by leostereo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |