Posted 30 October 2006 - 07:44 PM
Posted 31 October 2006 - 03:58 AM
Posted 31 October 2006 - 04:10 AM
let's say i have a variable named $str.
up at the top of my file, $str = "Eric Cartman";
let's say I want to change the value of $str later in my script: $str = "Stan Marsh";
but also, using the "." operator, i could add things to a string: $str .= " and Kenny McCormick";
which would echo "Eric Cartman and Kenny McCormick"
plus, if you include a file that contains a variable in another file, the variable is accessible in the file you included it to.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users