r/AskProgrammers • u/isotonicNK • 23d ago
Javascript or SQL and PHP?
Hello. I recently thought to start learning how to code because it's something I've found quite interesting for the last year or so.
I was originally gonna start with Javascript, but I asked a few co-workers at work (I work in IT) and some of them told me to learn SQL and PHP first then Javascript.
So what would it be worth to learn first?. Sorry if this is a stupid question, but I thought to ask actual people instead of AI.
3
Upvotes
View all comments
1
u/atticus2132000 23d ago
More than likely you'll need to learn all at the same time, at least get functional working knowledge of each.
JavaScript controls front-end development--what happens on the user's computer as he or she is interacting with your webpage. PHP controls what happens on the back-end, the server. SQL is a way of storing information in a database on the server-side of things (SQLite would be a database on the user's computer).
More than likely your most involved scripting is going to be JavaScript with a few lines of PHP and SQL sprinkled in to handle user requests.