0
I made a system of vestibular questions, the user creates his list of exercises, answers and get the note, only I wanted to print this note before the questions my page is more or less like the code below.
<NAV BAR / CABEÇALHO>
function resultado ($nota) {
echo "Sua nota foi tal:".$nota;
}
<PROCESSAMENTO DA NOTA>
<CHAMA DA FUNCAO PARA IMPRIMIR>
Only it always prints in the place where I called the function, not where it is. Someone can help me?
Is calling the function where?
– viana
I don’t know, I don’t know why I answered, I didn’t understand your question....
– MagicHat