how can we create a database using PHP and MYSQL?
Hi @sambean; welcome to the forums.
I’m sure you’ve already looked at the documentation and tried some examples.
What problem(s) are you having? What error message(s) are you getting?
Please post some of the code you’ve tried that doesn’t work so we can help you.
There is a great SitePoint book on the subject: Build Your Own Database Driven Web Site Using PHP & MySQL by Kevin Yank.
There’s a corresponding article here: