PHP how to count the arrays values? -
I am trying to count all the values in the array and checking that a value has been entered and if It displays such a message for this and if there was more then a value entered displays a different message for it.
How do I enable it and where do I add it to my code?
Here is the code below.
if ($ array == 1) {echo $ array "entered"; } Else {Echo Flat (",", $ array). "Has been recorded"; } (<$ Array == 1) {echo}
Comments
Post a Comment