
April 1st, 2012, 12:00 PM
|
|
Registered User
|
|
Join Date: Jan 2012
Posts: 9
Time spent in forums: 2 h 3 m 43 sec
Reputation Power: 0
|
|
|
Other - Regex for array?
I have a form with multiple inputs, like
Code:
<input class="text_area" type="text" name="that[]" value="<?php echo $columnorder['that']; ?>" />
<input class="text_area" type="text" name="that[]" value="<?php echo $columnorder['that']; ?>" />
...
...
The number of inputs is dynamic and the dream for me would be this
a regex that checks all the that[]-values so that
none of the values can be empty or 0 and none of the values can the same as any other value
Can anyone help me?
|