How to declare a variable in PHP
To declare a variable in PHP we write the $ sign before the name of the variable : for example, let's declare a variable named greeting and assign the string Hello to it. $greeting="Hello" we can echo out this variable like this: echo "$greeting Worl...
Jan 2, 20231 min read7

