how to create a script of table inside phpmyadmin code example
Example: how to get create table query preview in phpmyadmin
Use the following query in sql tab:
SHOW CREATE TABLE your_table_name
Press GO button
After show table, above the table ( +options ) Hyperlink.
Press +options Hyperlink then appear some options select (Full texts) press GO button.