As far as I can see, you can use that as it is. You would only have to prefix the variables with $ (to make them valid PHP variables) and add a semi-colon (;) to the end of the line.
hi,aprogramming this formular but am not very conversant with php can any one please help
Code:
w=sqrt((C/48)*(X/84))*48
C and X are provided by the user from form.
how can code this formula so tha when the user fills in the values of c and x it calculates the value of w.i have tried using this function but i dont get any result post_x & post_c from the form but gives me any error
Comment