How to add comment in JavaScript

Comments are an important part of the program it allows to add notes and explanations with the code. It has no impact on the execution of JavaScript code because they are ignored when the code is run.

In JavaScript, there are two types of comments –

  • Single line, and
  • Multiple lines

How to add comment in JavaScript

Read more

How to embed PHP script in the Webpage

The PHP script is used to make a website dynamic.

The code must be written within the defined PHP tags otherwise it would not execute.

With tags, you can display the final output after data manipulation e.g. listing fetch records from MySQL database in the <table>, display value in HTML element, upload image, etc.

How to embed PHP script in the Webpage

Read more