Search results

  1. S

    PHP loop does not end?

    I'm developing a calendar for a client. I want to list all the events for a certain day (can be more than one event per day), and here is the code I have for that: //Limit a MySQL query to selected month only. $low = mktime(0, 0, 0, $month, 1, $year); $high = mktime(0, 0, 0, $month, $max_days...
  2. S

    Regexp not working in PHP?

    I am trying to validate my form input on my site using a regexp. I'm using RegexBuddy to create and test it - and it works... in the program. When I transfer it to my PHP file, it doesn't. The field is for their name, therefore I want to allow only: Aa-Zz, 0-9 (for "the 3rd", etc. if desired), a...
Back
Top