How to export some rows of a mysql table with where clause from a php script?

后端 未结 4 1020
无人共我
无人共我 2021-01-04 08:45

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

4条回答
  •  囚心锁ツ
    2021-01-04 09:08

    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 :-)

提交回复
热议问题