Custom Page with PHP and connection to DB

I have some pages with PHP (as you can see below) and i am wondering if i can make the same with a wordpress page.

page without connection to DB:

Page with DB connection:

Thank you.

Can you install some PHP custom code in wordpress plugins? If not, i recommend you this one:

With this one you can customize your css, js and more important php codes. Also if you already have others plugins that do the custom css and js just try this one only for php:

1 Like

Thank you :wink:
this worked great


1 Like