Am a beginner at PHP and experimenting with new functions etc, can somebody please correct this code for me!
if (!is_numeric($crowd_range1 || $crowd_range2 || $crowd_range3) {
Thanks in advance!
Looks to me like your just missing a closing ")" to close your 'if' statement.
If that's not the problem then what kind of error message are you getting?
This is probably what you're trying to do:
if (!is_numeric($crowd_range1) || !is_numeric($crowd_range2) || !is_numeric($crowd_range3)) {
Must be tired, that got rid of the error, but its not working, I am getting my error message even though the 3 fields have numeric data in them.
Thanks Installer, that is exactly what I was trying to do, I was nearly there, works great now.
Thank you both 😃