What is the difference between php and js

藏色散人
Release: 2023-03-04 10:42:01
Original
9710 people have browsed it

The difference between php and js: 1. js is a script language that works on the browser side, while php is a script that works on the server side; 2. The data submitted by js is handed over to the browser for processing, while php The data is submitted to the server for processing, and the server responds to the browser.

What is the difference between php and js

Recommended: "PHP Video Tutorial"

The difference between php and js

The syntax is similar. What you said above is correct. js=javascript is a scripting language that works on the browser side. The data it submits is handed over to the browser for processing. But the current Ajax technology can already deliver the data submitted by js to the browser for processing.
php is a script that works on the server side. It submits data to the server for processing, and the server responds to the browser. You have to look at the BS structure for this. Suggestions for learning: Many people learn js first, which is correct, but if you learn PHP first, js is learned with needs, and what you learn will be more targeted.

Recommended: "javascript Advanced Tutorial"

Embedding page method

JS embedding method:

Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template