mysql --user=root --password=root --extended-insert=false --where="ID in (1,2) AND post_author='1'" wp_7 wp_posts > 1.sql;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'mysql
--user=root --password=root --extended-insert=false --where="ID in (1,2) A' at
line 1
Also, I need the output of the mysqldump in a php string. not in a file.