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...

Markdown supported · ⌘↵ to post
No responses yet.