Search results

  1. U

    PHP preg_match - how to extend the range to accept accented utf characters?

    How do I change the following preg_match function (which currently doesn't allow accented european chars) to allow accented european chars? <?php if(empty($formData['firstname']) || strlen($formData['firstname']) > 100 || !preg_match("/^[a-zA-Z0-9_\-\' \á]{1,100}+$/", $formData['firstname']))...
  2. U

    HTML - How to adjust the position of the option elements of a select tag?

    I want to shift my list of options a little towards left side. I am able to adjust the width etc. but not able to shift it left side. I have use left: -ve values but not working. I do not want to shift the position of my select tag however. It is fine. When the user views the select tag the...
Back
Top