Wednesday, July 8, 2009

Closing Tags in php code blog:

Php interpreter can recognize a php code block by it’s tags. When it founds a starting tags, then it knows that the flowings are the php code to process. You can omit the closing tags. This will not make any difference, rather it will help to avoid an error. If there is any white space after the closing tags, then php will throw an error. There are 4 php tags. Let see the question now. The bold options are the answers. You can give your opinion about the answers.
Question: Which of the following tags are an acceptable way to begin a PHP Code block?[choose 4]
a. "e;script language=”php”"e; "e;/script"e;
This is the javascript style php tag.
b. "e;!
This tag is invalid.
c. "e;%
This is ASP style tag.
d. "e;?php
This the default php tag.
e. "e;?
This is the short tag for php.

List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

No comments: