0

Need Support in Databases.

Hello! I am developing a project which includes a database and a web page(Html,Css,JavaScript). I have already created a sql databases using Postgresql. So now my question is how do i connect to it with my web page. And is there any need to learn php. NOTE- I am just developing static webpage that means i am not hosting it on internet.

21st Nov 2020, 12:18 PM
Dhruv Kohli
Dhruv Kohli - avatar
1 Antwort
+ 2
You don't need to develop in PHP, but you do need some sort of service you can post to (whether that's PHP or not), especially if user input will be deciding what type of queries will be made. The service can scrub the query message of any malicious code that a user of your website tried to use. This service can be anything that accepts HTTP requests. Having said that, it is much easier to write a PHP script that does all this for you. If you aren't using user input for queries, you don't have to worry as much about security.
21st Nov 2020, 3:37 PM
Zeke Williams
Zeke Williams - avatar