Required my Database in Create-post.php

I required my database.php inside my create-post.php using require_once .