Results 1 to 2 of 2

Thread: Form javascript verify before php upload to mysql

  1. #1
    Join Date
    Mar 2013
    Winnipeg, Canada

    Form javascript verify before php upload to mysql

    I have a form that I have to upload to a mysql database. I need to use javascript to verity a name field and a email field before I can upload to the database. How am I able to do that?


  2. #2
    Join Date
    Aug 2004
    that's probably best answered in the JavaScript forum here. However, just in case you don't know, I'll point out that JavaScript is easily bypassed by a malicious user, so don't let client-side (e.g. JavaScript) validation make you think you no longer need server-side (e.g. PHP) validation for any inputs which could be problematic.
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center