<?php $link = fbsql_pconnect("localhost", "_SYSTEM", "secret") or die("Could not connect"); if (fbsql_create_db("my_db")) { echo "Database created successfully\n"; } else { printf("Error creating database: %s\n", fbsql_error()); }?>