Skip to content

Star Rating Js + html with symfony

I’m working on a project with symfony 4. I want to implement a star rating system. I display 5 stars in each row in a table. I have two problems, one is more important than the other. So the first issue is that I want to be able to retrieve the value of the star I selected. If I select

Return File Data With A Custom Function

I am building my own project (website) and I am trying to create a renderTemplate function to return HTML files but I don’t how to return data from the file Here is quick example of what I am doing I made sure the file.txt exists, ran the code and got undefined in the output Answer Because render doesn …

How to log user input with Morgan?

Good morning, I am trying to log user input from user when using morgan and express. What I am specifically trying to log is noted in this image: (The user posted a request with an object that includes two key/value pairs “name” and “number”) How would I go about logging this? Custom t…