i have use that math quiz in js
and i have tried to convert this js in
may be if i separe php and other after i call php by include.
but the second problem is that correct to us onclick for function whom are in php?
Alright, I think I understand what you want a bit better now.
Can you tell me what are your plans by using PHP? you do know PHP is a back-end language right?
I ask this because (it seems to me), you are attempting to manipulate DOM somehow. AFAIK PHP as a back-end wasn't meant for that, that is the role of JS in front end.