Sorry, I know I asked this yesterday, but the answer I got was for Javascript, which worked for me, but now I am writing the PHP script and I can’t figure out the PHP Version either. I tried to research it, but nothing came up.
I am trying to create a validation script for a few selectors such as month, day, and year for your birthday. Basically I want the script to run as:
IF the selector is on the first option return false ELSE return true
What is the IF statement I need in order to return the script false if the first option in the list is selected.
For example,
<select>
<option>FAIL IF THIS IS SELECTED</option>
<option>PASS IF THIS IS SELECTED</option>
<option>PASS IF THIS IS SELECTED</option>
...And So On
</select>
HTML
PHP inside some validate function (form.php)