How add input on looping pattern? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
15th Mar 2020, 9:44 AM
Asep Saepudin
Asep Saepudin - avatar
2 Answers
+ 1
//Your code is working but some changes: Use . (dot) to concatenate string and variables echo"Number :<b>$num</b>"; like this echo"Number :<b>".$num."</b>"; On input click php submits from , as this are inside php sololearn reloads output so outputs will not be visible so try on your pc or browser. its working
15th Mar 2020, 9:57 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
I will try on pc, thanks for helpful😊
15th Mar 2020, 9:59 AM
Asep Saepudin
Asep Saepudin - avatar