I have a variable $var = abcdefghijklmno
how can i assign part of the string as the value of a new variable?
ie $var2 = fghijk
I hope you see what I am trying to do, i just want part of the text string ofthe first variable!
Consult the PHP manual. There's a function by the name of SubStr.
check out substr at http://www.php.net/manual/en/function.substr.php
$var = substr($var, 5, 6);
http://www.php.net/manual/en/function.substr.php
lol i got beat twice o_0