I have two variables, and want to put them together... $something = $var1 . $var2;
the problem is at the end of $var1 I have some spaces that I need removed... anyone got any ideas ?
do trim(); it will get rid of any white spaces at the beggining and end of the string.
thanks, worked like a charm 🙂