Pleased help with PHP strings!! how do I make one?

yasoulaki

New member
Hello, Iam following a tutorial for php and iam using WAMP, with apache . DO i need to use XAMPP instead?


also, what is a variable and can you explain what a string is and how it looks? The tutorial is hard to understand.



Thanks!!
 
Hey there,

Don't know nothing about XAMPP or WAMP, but a variable is a object that holds data in a program such as PHP. The data is called a string.

So $JT = ' This is a string! '; remember that variables are case sensitive so $JT is separate from $jt.

This prints the variable to screen

echo $JT;

Hope that helps some!
 
Back
Top