I have a mysql table say test and I want to create a importable .sql file for rows where id is between 10 and 100 using php script.
I want to create a sql file say t
In very simply way go to your phpMyAdmin select you database whose particular rows you want to export click on "SQL" (To Run SQL query/queries on database) Write sql query and execute it Like select * from test table limit 500 now what ever result come Just at the bottom see "Query results operations" just click on Export
All done :-)