+ 1
Create a Profile Page with Node.JS, Express, and MySQL
I am creating a simple profile page using JS, Express, and MySQL. Any basic lessons will genuinely help. I need to know how to implement MySQL data to the "profile.ejs" page.
2 ответов
+ 1
I found out that I had two app.get(‘profile’) method and now the page loads with no error after removing the un-needed one. More info found in the link below.
https://stackoverflow.com/questions/71437157/how-to-implement-mysql-data-into-an-ejs-file-to-make-a-profile-page
0
Jonathan R Dameus
You can use any template engine to render your SQL database records.
You can use <%= variablename =>
Check the below link
https://youtu.be/wEqMxTJl-TE
I hope this helps you
You can follow this Instagram page for more code snippets
Id: anonymous_me_0000