I assume that he wants to exclude code at certain times or conditions. I guess a IF statement would be the suitable option here.
dear you can,t understand . i explain it i make a php programme which have 15 statements i want to count them with a specific no such 5 so the next time statement no 5 are become comment or delete how i do it
why do you want do delte or comment a code line at runtime? Do you want to prevent it's executiion? Then use if statements as stephan2307 already said. I still can't understand what you want. You have 15 statements in your script and want to randomly exclude one from execution?
well why don't do yo something like this if ($no != 1) { //run this code } if ($no != 2) { //run this code } if ($no != 3) { //run this code } if ($no != 4) { //run this code } if ($no != 5) { //run this code } if ($no != 6) { //run this code } PHP: