Just as the title says, I want to duplicate one table from a completely separate database in phpPgAdmin to another one. I have tried two ways but both did not work for me:
you can use pg_dump
, which extract PostgreSQL database/table and the pipe it directly to another server/database
pg_dump -t table_name source_db | psql target_db
for more info read pg_dump documentation.