Form Validation using jQuery

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
  <title>Simple Form Validation</title>
  <script type="text/javascript" src=""></script>
  <script type="text/javascript" src=""></script>

  <script type="text/javascript">
    $(document).ready(function() {
        rules: {
          name: "required",// simple rule, converted to {required:true}
          email: {// compound rule
          required: true,
          email: true
        url: {
          url: true
        comment: {
          required: true
        messages: {
          comment: "Please enter a comment."

  <style type="text/css">
    * { font-family: Verdana; font-size: 11px; line-height: 14px; }
    .submit { margin-left: 125px; margin-top: 10px;}
    .label { display: block; float: left; width: 120px; text-align: right; margin-right: 5px; }
    .form-row { padding: 5px 0; clear: both; width: 700px; }
    label.error { width: 250px; display: block; float: left; color: red; padding-left: 10px; }
    input[type=text], textarea { width: 250px; float: left; }
    textarea { height: 50px; }

    <form id="form1" method="post" action="">
      <div class="form-row"><span class="label">Name *</span><input type="text" name="name" /></div>
      <div class="form-row"><span class="label">E-Mail *</span><input type="text" name="email" /></div>
      <div class="form-row"><span class="label">URL</span><input type="text" name="url" /></div>
      <div class="form-row"><span class="label">Your comment *</span><textarea name="comment" ></textarea></div>
      <div class="form-row"><input class="submit" type="submit" value="Submit"></div>

All About ZCE

The PHP 5 Certification exam covers the following topics:

  1. PHP Basics
  2. XML and Web Services
  3. Functions
  4. Arrays
  5. Object Oriented Programming
  6. Streams/Network Programming
  7. Design and Theory
  8. PHP 4/5 Differences
  9. Security
  10. Strings and Patterns
  11. Databases and SQL
  12. Web Features

The exam voucher could be bought from here with $125.

You may buy the Zend Certification Study Guide from Zend of Amazon with $33 to prepare yourself.
View test center address, telephone number, and directions by clicking on the test center name for Bangladeshi Applicants.

Ser Test Center City Country
1 New Horizons C L C – Chittagong Chittagong Bangladesh
2 American International University – Bangladesh Dhaka Bangladesh
3 IT Bangla Ltd Dhaka Bangladesh
4 New Horizons MITC – Dhaka Dhaka Bangladesh

Q: Can I use my PHP 4 Certification voucher for the PHP 5 exam?

Yes, your current voucher code can be applied to the new Zend PHP 5 Certification. Note that you can only use your voucher for the new PHP 5 exam if your voucher has not expired before the exam has been released at Pearson Vue test centers.

Q: How long do I have to take the Zend PHP Certification Exam after I purchase the voucher?

The Zend PHP Certification voucher is valid for 1 year from the date of purchase.

Q: Why should I take the Zend PHP Certification exam?

Becoming PHP certified is a measure of your experience in the world of PHP. The goal of the Zend PHP Certification program is to allow PHP professionals to attain the “Zend Certified Engineer” designation. This is identical in concept to other well know certification programs such as “Microsoft’s Certified Professionals (MCP)” and the “Sun Certified Java Programmer (SCJP)” programs. The Zend PHP Certification program aims at creating a measure of distinction that employers can use to evaluate prospective employees. Becoming a Zend Certified Engineer will not make you a better programmer, however, it will most likely improve the chances of your resume standing out from among other applicants vying for the same position.

Q: What is the cost of the exam?

The official price is $US 125.

Q: Who wrote the exam?

The PHP Certification exam encompasses curriculum specified by the Zend PHP Education Advisory Board as essential to demonstrate expert proficiency in PHP. The Board’s members are among the most well known and respected in the PHP Community. It is important to note that the Board is completely neutral and was not influenced by Zend’s business objectives. In fact, the only point Zend insisted upon was that exam exclude references or questions relating to Zend’s products.

Q: What is the exam like?

The exam itself is very similar to most other IT exams offered these days. You will be required to go to a VUE Testing Centre, which are available in over 3500 locations around the world. The exam is taken in an isolated room, using a specially configured computer. The exam is closed-book, so you won’t be able to consult any reference material or use the Internet while taking it. The exam is composed of a total of 70 questions, which must be answered in 90 minutes. Each question can be formulated in one of three ways: – As a multiple-choice question with only one right answer. – As a multiple-choice question with multiple correct answers. – As a free-form question for which the answer must be typed in.

Q: What topics/subjects does the exam cover?

The exam was designed to evaluate knowledge of PHP from a practical perspective. While there are a few theoretical items, the vast majority of the questions are based on the ability to evaluate and analyze a snippet of code. In the opinion of the Education Advisory Board, this better reflects a working understanding of PHP than simply knowing the manual by heart.

Q: Do I need to know anything particular (other than PHP) to pass?

Put simply, you need to know those technologies that a PHP developer uses in his/her day-to-day job, including databases and regular expressions. As far as the latter are concerned, the focus is on Perl regular expressions, while for databases the focus is on standard SQL, rather than any particular implementation. If you’ve learned databases exclusively by using MySQL, it is strongly urged you look into standard SQL, because MySQL diverges from it in some significant ways. Why standard SQL? A PHP developer should know about proper database design so that he/she can work with more than one DBMS, and so that the developer who uses, say, Oracle or PostgreSQL is not at a disadvantage — after all, this is a PHP exam, not a LAMP one.

Q: What other resources are available?

Zend, in collaboration with SAMS publishing, has published the Zend PHP 5 Certification Study Guide Book, to help you prepare for the exam. If you prefer to learn from a professional instructor in an online setting, try the Zend PHP 5 Certification Training. The Zend PHP 5 Certification Training includes one voucher for the Zend PHP Certification Exam – a $125 value.

Q: How will I know if I passed?

At the end of the exam you will receive a pass/fail grade. The numeric score is not released. Should you fail, Zend offers re-take discounts, please email us at

Q: What should I take to the exam?

On the day of the exam don’t forget to take 2 forms of identification with you to the testing center–testing staff must verify your identity.

Q: How can I get a group discount?

For a group discount (10+ vouchers), email us at

Q: When will my details be updated on the Yellow Pages for PHP Professionals?

Once you have passed the exam, it takes 24-48 hours for your name and credentials to be published in the Zend Yellow Pages for PHP Professionals. To edit your ZCE details go to the Yellow Pages for PHP Professionals page and follow the instructions. You will be able to upload your picture, choose to display your company name, and much more.

Q: When will I receive my diploma?

We will mail your diploma once you have passed the exam. Please allow 8-10 weeks for delivery.
Q: Can I use the term ‘Zend Certified Engineer’ on my resume/CV or business card?

In general, yes. You can also include the logo provided here. The only except is for those who have passed the Zend PHP Certification exam (either the 4 or 5 version), and live in Ontario, Canada. For legal reasons you cannot use the designation “Zend Certified Engineer” on your resume/CV or business card. You can however use the acronym “ZCE” to stand for “Zend Certification Endorsed”.

Q: What are the career and personal rewards when I take the Zend PHP Certification?

Career Rewards: Differentiate yourself from competitors when looking for a new job. Boost your value at your annual salary review. Get your resume/CV noticed. Gain recognition from your employer. Have your profile displayed in Zend’s Yellow Pages for PHP Professionals. Personal Rewards: Be recognized as a proud and dedicated supporter of PHP. Show your commitment to the spread and growth of PHP. Help the community prove that PHP is reliable, stable and dependable.

Q: Zend Certified Engineer Facts

Number of Zend Certified Engineers: over 3,000 – 100% are either satisfied or extremely satisfied with their overall experience with the Zend PHP Certification Exam – 98% will recommend Zend PHP Certification to others – 77% have already recommended Zend PHP Certification to others – 50% have the ZCE Logo on their personal or business Web site – 49% hold other certification credentials – 25% have had an increase in salary/revenue.