Php

But it is not worked hmmmm

The database password is not your cPanel password. You can find your hosting account password by logging into your Client Area, selecting the account, scrolling down to “Account Information” and clicking “Show/Hide” to show the password. After that, if you are using my last version of the code, it should return nothing, if it’s not correct it should return like “Error connecting to the database: Access denied for user [email protected] (using password: YES)”.

I will try it now

1 Like

does infinityfree hosting support JS?

Yes, it supports JavaScript files (client-side), but not apps that use Node.js (server-side).

js is for browsers. which means unlike php. that won’t return server data. example if you’d like make a game that you allow users earn V currency with winning games. you can connect data base with ajax and php file( which alters DB)!

you can’t connect to DB without ajax

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.