maybe it would work if I didn't put non-existent php vars into the sql.