Skip to content
← Back to Community
How to use mysql in php
Profile icon
samba0648

As we know PHP is for server-side scripting. PHP is used for database creation, insertion, and updation using MYSQL. How can I use MYSQL in PHP?

Voters
Profile icon
baeraewbaehsht
Profile icon
ahnl
Profile icon
ManuTheCoder
Profile icon
Loshad
Profile icon
thom4s1
Profile icon
samba0648
Comments
hotnewtop
Profile icon
PattanAhmed

@samba0648 Hi,
Here are some websites that might help you!
Check this
And this too

And you can find more websites if you search How to use MySQl in PHP

Hope this helps
Please mark my answer if this helps

Profile icon
samba0648

What I mean is how to connect PHP and mysql in repl.it @PattanAhmed

Profile icon
PattanAhmed

@samba0648 Oh then:-
Seems debatable whether you can do what you ask. Here is a post I came across by Searching: Check this out and tell me the results...

Hope this helps
Please mark my answer if this helps

Profile icon
samba0648

From the post, I came to know that we can not create mysql database in repl.it. But we can access external [email protected]

Profile icon
PattanAhmed

@samba0648 Yes that's the point that I want you to know!

Profile icon
PattanAhmed

@samba0648 Hope that helps
Please mark my answer if that helps

Profile icon
samba0648

I don't know how to mark the [email protected]

Profile icon
samba0648

How to connect external [email protected]

Profile icon
PattanAhmed

@samba0648 You can create an Account Database with MySQL and Node.js here...
Check this website to know how to create an Account Database in Repl.it
Click here

Hope this helps

Profile icon
PattanAhmed

@samba0648 Check these pictures to know how to mark an answer:-

0

1

And then Click on every 1 number you see here
3
And every place it occurs here

Hope you may try!

Profile icon
k9chelsea2
Profile icon
samba0648

What I mean is how to connect PHP and mysql in [email protected]

Profile icon
k9chelsea2

oh ok, maybe the people at help and reviews on the discord sevrer can help