hello world ! im a beginner of php language . how to create calculations code ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

hello world ! im a beginner of php language . how to create calculations code ?

30th Jun 2016, 2:22 AM
tanyel
3 Answers
+ 1
you can put the calculation into function, and generate the number, and save into variable before return it.
30th Jun 2016, 4:03 AM
Yofanda Putra
Yofanda Putra - avatar
+ 1
just go through with the variable and operators
30th Jun 2016, 9:08 AM
Neelesh Bansal
Neelesh Bansal - avatar
0
Can you elaborate a bit more what you want to ask ? Do you wish to create a sort of calculator ?
30th Jun 2016, 5:34 AM
Mukul Vashistha
Mukul Vashistha - avatar