Why do we use script language="php" ? How it effects the code?plus is echo like "cin" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do we use script language="php" ? How it effects the code?plus is echo like "cin"

22nd Mar 2017, 4:53 AM
Aman Obaid
Aman Obaid - avatar
2 Answers
+ 1
echo like cout
22nd Mar 2017, 11:57 AM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
php is a server-side ( back-end ) scripting language, it's used along with database to manipulate data on the hosting, not the webpage like if you wanna send emails or create a registration system for clients to sign up and create password, you use php (but surely you can manipulate webpages too). echo is the equivalent of cout, not cin, as it outputs on the page and doesn't prompt used for input.
22nd Mar 2017, 5:18 AM
YafiWebDev
YafiWebDev - avatar