+ 3

PHP and SQL -need help understanding

So please tell me if I'm wrong because I'm trying to start learning more server side programming and I don't know Jack yet, but my question is.. is PHP to SQL, like HTML is to JavaScript? one is a scripting language meant to hold the information (PHP/ HTML) and the programming language (SQL/ JavaScript) is meant to modify it based on how it's being used? please tell me if I'm wrong, I just want a clear understanding of it's purpose before I start diving in deeper. not sure if this is relevant but my aim is to become a full stack web/computer app developer. thanks for all the help and support.

26th Jun 2018, 8:23 PM
Brent
Brent - avatar
2 odpowiedzi
+ 3
I think u should relax and take the training slow... don't jump any... html and JS are actually the language of the web... PHP, a server language, comes in when you need to communicate to a database, SQL(MySQL). If u are building just an app that can both send and receive data (back-end services) , then you will require a server-side language, Eg. PHP, C#, java, etc to communicate with the database using SQL, Eg. TSQL, SQLITE, MySQL, etc. but if you are building an app that does not require a back-end service, then you just stick to front-end technologies and frameworks. Eg. html, JS, css, w3css, bootstrap, etc
26th Jun 2018, 9:34 PM
Silvanus Justice Silvanus
Silvanus Justice Silvanus - avatar
+ 2
Silvanus Justice Silvanus thank you, that actually helps a lot. Im building a website currently to display all my code and write about myself so I can present it to employers when the time comes. I was hoping to add a login feature and I thought learning how a database works was the way to do that.
26th Jun 2018, 9:44 PM
Brent
Brent - avatar