ok thanks for the feedback i updated the sprintf but for
if($a == $b) { //open brace on same line // execute here. Notice it has 4 spaces (not tab) } else { //same line again //Execute this block }
i dont really understand i get confused seeing it and reading it on that site is there any chance you can be bothered enough to take part of my code and give me an example that way so i can understand a little better if your not up to it its ok thank you for the help you have already given