Why don't you use or or || in the middle?
小周
小周 2018-07-17 09:38:19
0
1
1214

if((!isset($error)) and (!ereg("^[_0-9a-z]*$",$nicker))) $error="The nickname needs to be composed of letters, numbers and underscores ";


小周
小周

reply all(1)
无忌哥哥

This means both must be judged, not just one, so using and and or are used to judge only one condition.

  • reply Um thank you
    小周 author 2018-07-17 09:45:42
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template