How to open a MySQL File that is in php file?

Hello, How do I open a mysql database file, that is written in php and not in .sql file , in my phpmyadmin? Thanks.