php - print result before print a function? -


I print a text line in each step and it adds up to 1 marker. Ex:

  write function () {$ score = 0; Foreach (Array $ arr as $) {Echo "Line 1"; $ Score ++; }}   

I want to print the first $ score and then want the text lines in the page where I will call that function.

How do I print before the $ score

  function Write () {$ score = 0; $ Resonance = ''; Foreach (Array $ $ as Array) {Echo Echo $ = "Line1"; $ Score ++; } $ Score echo; Echo $ echo; }    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -