Web Analytics Made Easy -
StatCounter how can I define validation rules? - CodingForum

Announcement

Collapse
No announcement yet.

how can I define validation rules?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how can I define validation rules?

    how can I define validation rules?

  • #2
    You need to be a lot more specific...

    What are you validating? What are you wanting validated?
    Useful function to retrieve difference in times
    The best PHP resource
    A good PHP FAQ
    PLEASE remember to wrap your code in [PHP] tags.
    PHP Code:
    // Replace this
    if(isset($_POST['submitButton']))
    // With this
    if(!empty($_POST))
    // Then check for values/forms. Some IE versions don't send the submit button 
    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

    Comment

    Working...
    X