+1

hello i want make math quiz game in php but that don't work i don't know why.

hello i want make math quiz game in php but that don't work i don't know why. help pease https://code.sololearn.com/wa7sb8aQd6Cm/#php

php

1/28/2020 3:45:44 PM

Zac-SANE

10 Answers

New Answer

+2

ok i see, so what kind of exercicses you advise me?

+2

Ok thanks

+1

Start small. No need to copy paste chunk of codes. Copy pasting is bad for learning.

+1

Do you understand what is in your code? In the php part?

+1

Are you sure that was the whole code? I got error messages for missing class definition. Where did you get this script BTW?

+1

i have use that math quiz in js https://code.sololearn.com/W9idAO06tOZA/#js and i have tried to convert this js in http://sstur.github.io/js2php/demo/ 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?

+1

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.

0

You don't anderstand i'm learned Php and i want to transform that math quiz js to php. It's just my smill project. with that i will learn slowly and anderstand combinaisons

0

Yes i can anderstand the code to 80%. But i haven't yet capacity to code without seeing syntax.

0

I'm not advising you anything buddy. I came here in a hope that maybe I can help somehow. That's all.