<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9045278382537007305</id><updated>2026-07-23T23:05:36.938-07:00</updated><category term="in_array in php"/><category term="JavaScript"/><category term="NOW() in mysql"/><category term="Text fields click mouse hide jquery code"/><category term="animate div in jquery"/><category term="array  php"/><category term="array change key"/><category term="array syntax php"/><category term="array_search function in php"/><category term="array_slice syntax in php"/><category term="array_unique function in php"/><category term="chdir meaning and  use"/><category term="clear text area on click with javascript"/><category term="client side technologies"/><category term="cookie and sessions"/><category term="date  year function in php"/><category term="date and year functions in php"/><category term="definition of array in php"/><category term="definition php array"/><category term="difference between array_slice() and  array_splice() in php"/><category term="difference between cookie and session in php"/><category term="difference between gpet and post in ph"/><category term="difference between mysql_connect and pconnect"/><category term="difference between mysql_fetch_object and mysql_fetch_array"/><category term="difference between session and cookies in php"/><category term="difference bitween  inner join and outer join in mysql"/><category term="difference bitween expode and implode in php"/><category term="diplay array php"/><category term="download file in php script"/><category term="dropdown field add and remove with jquery"/><category term="example full text search mysql"/><category term="explode and inplode in php"/><category term="fade in code in jquery"/><category term="fade out code in jquery"/><category term="fade out function in php jquery"/><category term="fadein function in jquery"/><category term="file uploading code in php"/><category term="foreach loop in php"/><category term="full Text search in mysql"/><category term="how  can delete image in php"/><category term="how can animate div in jquery"/><category term="how can comments in  php code"/><category term="how can create thumbnail in php"/><category term="how can delete file in php"/><category term="how can destroys variable in php"/><category term="how can get ouput array"/><category term="how can initialize the variable in php"/><category term="how can install wordpress"/><category term="how can php code comment"/><category term="how can text highlighting in jquery"/><category term="how can use shortcode to template"/><category term="how check value exit in array + php"/><category term="initialize the variable in php"/><category term="inner join  and outer join major difference"/><category term="ip address in php"/><category term="javascript clear textarea on click"/><category term="jquery animate function"/><category term="jquery animation codes"/><category term="jquery defenitions"/><category term="jquery help tips"/><category term="jquery hide code"/><category term="jquery meaning"/><category term="jquery select box"/><category term="jquery text fields hide"/><category term="jquery text highlighting"/><category term="lcfirst in php"/><category term="left join example query"/><category term="left join in mysql"/><category term="list of effects in jquery"/><category term="list of php types"/><category term="list of wordpress features"/><category term="list sorting function in php"/><category term="lower case first character in php"/><category term="ltrim in php"/><category term="major difference bitween echo and print in php"/><category term="major difference bitween inner and outer join in  php"/><category term="md5 in php"/><category term="meaning and usage of rtrim"/><category term="meaning of array in php"/><category term="meaning of getcwd"/><category term="meaning of wordpress"/><category term="my sql list of tables"/><category term="mysql tables list"/><category term="onclick text field value null javascript"/><category term="php array _search function"/><category term="php array change key"/><category term="php array foreach"/><category term="php array meaning"/><category term="php array syntax"/><category term="php array_slice"/><category term="php array_slice example"/><category term="php array_splice"/><category term="php code comment"/><category term="php comments"/><category term="php constant examples"/><category term="php constant function"/><category term="php constants"/><category term="php fopen"/><category term="php foreach"/><category term="php function to url validity"/><category term="php how can get ip address"/><category term="php in_array"/><category term="php md5 function syntax"/><category term="php sessions and cookie difference"/><category term="php sorting functions"/><category term="php substr"/><category term="php substr()"/><category term="php ternary operator syntax"/><category term="php thumbnail creation"/><category term="php unlink"/><category term="php unset"/><category term="php unset array"/><category term="php unset function"/><category term="php variable"/><category term="plugin url wordpress"/><category term="post id wordpress function"/><category term="reset array in php examples"/><category term="rtrim in php"/><category term="select field add and remove with jquery php"/><category term="sending mail in php"/><category term="setup utf8 character set in mysql"/><category term="simple class example in php"/><category term="simple meaning array  in  php"/><category term="simple thumbnail create in php"/><category term="sort an array in php"/><category term="sorting function in php"/><category term="steps of wordpress installations"/><category term="strings in php"/><category term="strpos() function in php"/><category term="syntax of php array"/><category term="text field value null onclike javascript function"/><category term="two dimenionl array in php"/><category term="unset array"/><category term="url validity checker function php"/><category term="usage of ltrim in php"/><category term="use of  how  can delete image in php  unlink() in php"/><category term="use of getcwd"/><category term="use shotrcode in theme"/><category term="variable initialize in php"/><category term="what  difference between difference between mysql_fetch_object and mysql_fetch_array"/><category term="what is difference between mysql_connect and pconnect"/><category term="what is javascript"/><category term="what is wordpress"/><category term="wordpres get id"/><category term="wordpress developers"/><category term="wordpress features"/><category term="wordpress feautures"/><category term="wordpress installations"/><category term="wordpress plugin url"/><category term="wp developer india"/><title type='text'>PHP Simple QA</title><subtitle type='html'>It contains Simple Questions and Answers in PHP</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://phpsimpleqa.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>322</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-8943813584544517643</id><published>2018-04-15T00:32:00.000-07:00</published><updated>2018-04-15T00:32:46.542-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="wordpress developers"/><category scheme="http://www.blogger.com/atom/ns#" term="wp developer india"/><title type='text'>Best wordpress theme developer india</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 11.31px;&quot;&gt;Jose TVM&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 11.31px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 11.31px;&quot;&gt;email:dscomtvm@gmail.com&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 11.31px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 11.31px;&quot;&gt;phone:91-9847443143&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 11.31px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 11.31px;&quot;&gt;&lt;a href=&quot;http://www.indiawordpressdeveloper.com/&quot;&gt;http://www.indiawordpressdeveloper.com&lt;/a&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 11.31px;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 11.31px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 11.31px;&quot;&gt;Specialties:&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 11.31px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 11.31px;&quot;&gt;php,HTML, JavaScript, Ajax, Joomla,wordpress,jquery,seo,elgg,magento,php zend,oscommerce and codeigniter.&lt;/span&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/8943813584544517643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/8943813584544517643'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2018/04/best-wordpress-theme-developer-india.html' title='Best wordpress theme developer india'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-5077402709835827163</id><published>2017-07-13T05:31:00.003-07:00</published><updated>2017-07-13T05:31:53.992-07:00</updated><title type='text'>theme basic config</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;?php&lt;br /&gt;
if ( ! isset( $content_width ) ) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$content_width = 660;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
&amp;nbsp;* Twenty Fifteen only works in WordPress 4.1 or later.&lt;br /&gt;
&amp;nbsp;*/&lt;br /&gt;
if ( version_compare( $GLOBALS[&#39;wp_version&#39;], &#39;4.1-alpha&#39;, &#39;&amp;lt;&#39; ) ) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if ( ! function_exists( &#39;test_setup&#39; ) ) :&lt;br /&gt;
/**&lt;br /&gt;
&amp;nbsp;* Sets up theme defaults and registers support for various WordPress features.&lt;br /&gt;
&amp;nbsp;*&lt;br /&gt;
&amp;nbsp;* Note that this function is hooked into the after_setup_theme hook, which&lt;br /&gt;
&amp;nbsp;* runs before the init hook. The init hook is too late for some features, such&lt;br /&gt;
&amp;nbsp;* as indicating support for post thumbnails.&lt;br /&gt;
&amp;nbsp;*&lt;br /&gt;
&amp;nbsp;* @since Twenty Fifteen 1.0&lt;br /&gt;
&amp;nbsp;*/&lt;br /&gt;
function test_setup() {&lt;br /&gt;
&lt;br /&gt;
add_theme_support( &#39;post-thumbnails&#39; );&lt;br /&gt;
add_theme_support( &#39;post-thumbnails&#39;, array( &#39;post&#39; ) ); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Posts only&lt;br /&gt;
add_theme_support( &#39;post-thumbnails&#39;, array( &#39;page&#39; ) ); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Pages only&lt;br /&gt;
add_theme_support( &#39;post-thumbnails&#39;, array( &#39;post&#39;, &#39;movie&#39; ) ); // Posts and Movies&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add_theme_support( &#39;html5&#39;, array(&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;search-form&#39;, &#39;comment-form&#39;, &#39;comment-list&#39;, &#39;gallery&#39;, &#39;caption&#39;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;) );&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/*&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * Enable support for Post Formats.&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; *&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * See: https://codex.wordpress.org/Post_Formats&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; */&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add_theme_support( &#39;post-formats&#39;, array(&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;aside&#39;, &#39;image&#39;, &#39;video&#39;, &#39;quote&#39;, &#39;link&#39;, &#39;gallery&#39;, &#39;status&#39;, &#39;audio&#39;, &#39;chat&#39;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;) );&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/*&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * Enable support for custom logo.&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; *&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @since Twenty Fifteen 1.5&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; */&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add_theme_support( &#39;custom-logo&#39;, array(&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;height&#39; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; 248,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;width&#39; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; 248,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;flex-height&#39; =&amp;gt; true,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;) );&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
endif;&lt;br /&gt;
add_action( &#39;after_setup_theme&#39;, &#39;test_setup&#39; );&lt;br /&gt;
&lt;br /&gt;
function register_my_menu() {&lt;br /&gt;
&amp;nbsp; register_nav_menu(&#39;header-menu&#39;,__( &#39;Header Menu&#39; ));&lt;br /&gt;
}&lt;br /&gt;
add_action( &#39;init&#39;, &#39;register_my_menu&#39; );&lt;br /&gt;
function arphabet_widgets_init() {&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;register_sidebar( array(&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;name&#39; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; &#39;Home right sidebar&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;id&#39; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; &#39;home_right_1&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;before_widget&#39; =&amp;gt; &#39;&amp;lt;div&amp;gt;&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;after_widget&#39; &amp;nbsp;=&amp;gt; &#39;&amp;lt;/div&amp;gt;&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;before_title&#39; &amp;nbsp;=&amp;gt; &#39;&amp;lt;h2 class=&quot;rounded&quot;&amp;gt;&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;after_title&#39; &amp;nbsp; =&amp;gt; &#39;&amp;lt;/h2&amp;gt;&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;) );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
add_action( &#39;widgets_init&#39;, &#39;arphabet_widgets_init&#39; );&lt;br /&gt;
&lt;br /&gt;
function add_scripts() {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; wp_enqueue_script(&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;custom_script&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; get_template_directory_uri() . &#39;/js/jquery-2.1.1.js&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array(&#39;jquery&#39;),null&lt;br /&gt;
&amp;nbsp; &amp;nbsp; );&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;wp_enqueue_script(&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;script&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; get_template_directory_uri() . &#39;/js/script.js&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array(&#39;jquery&#39;),null&lt;br /&gt;
&amp;nbsp; &amp;nbsp; );&lt;br /&gt;
}&lt;br /&gt;
function add_style() {&lt;br /&gt;
&amp;nbsp; wp_enqueue_style( &#39;wpse-styles1&#39;, get_template_directory_uri() . &#39;/css/zerogrid.css&#39;, array(), null );&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;wp_enqueue_style( &#39;wpse-styles2&#39;, get_template_directory_uri() . &#39;/css/menu.css&#39;, array(), null );&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;wp_enqueue_style( &#39;wpse-styles3&#39;, get_template_directory_uri() . &#39;/css/style.css&#39;, array(), null );&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;wp_enqueue_style( &#39;wpse-styles4&#39;, get_template_directory_uri() . &#39;/font-awesome/css/font-awesome.min.css&#39;, array(), null );&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;wp_enqueue_style(&#39;wp_font5&#39;,get_template_directory_uri().&#39;/owl-carousel/owl.carousel.css&#39;,array(),null);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;wp_enqueue_style(&#39;wp_font6&#39;,get_template_directory_uri().&#39;/owl-carousel/owl.theme.css&#39;,array(),null);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
}&lt;br /&gt;
add_action( &#39;wp_enqueue_scripts&#39;, &#39;add_scripts&#39; );&lt;br /&gt;
add_action( &#39;wp_enqueue_scripts&#39;, &#39;add_style&#39; );&lt;br /&gt;
?&amp;gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/5077402709835827163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/5077402709835827163'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/07/theme-basic-config.html' title='theme basic config'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-1490223400493208706</id><published>2017-07-13T04:52:00.000-07:00</published><updated>2017-07-13T04:52:31.538-07:00</updated><title type='text'>Wordpress Basic Setup </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;?php&lt;br /&gt;
/*&lt;br /&gt;
Plugin Name: Test Plugin&lt;br /&gt;
Plugin URI: &amp;nbsp;https://developer.wordpress.org/plugins/the-basics/&lt;br /&gt;
Description: Basic WordPress Plugin Header Comment&lt;br /&gt;
Version: &amp;nbsp; &amp;nbsp; 20160911&lt;br /&gt;
Author: &amp;nbsp; &amp;nbsp; &amp;nbsp;WordPress.org&lt;br /&gt;
Author URI: &amp;nbsp;https://developer.wordpress.org/&lt;br /&gt;
License: &amp;nbsp; &amp;nbsp; GPL2&lt;br /&gt;
License URI: https://www.gnu.org/licenses/gpl-2.0.html&lt;br /&gt;
Text Domain: wporg&lt;br /&gt;
Domain Path: /languages&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
define( &#39;TEST_VERSION&#39;, &#39;3.2&#39; );&lt;br /&gt;
define( &#39;TEST__MINIMUM_WP_VERSION&#39;, &#39;3.7&#39; );&lt;br /&gt;
define( &#39;TEST__PLUGIN_DIR&#39;, plugin_dir_path( __FILE__ ) );&lt;br /&gt;
define( &#39;TEST_DELETE_LIMIT&#39;, 100000 );&lt;br /&gt;
&lt;br /&gt;
function wporg_custom_post_type()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; register_post_type(&#39;product&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;labels&#39; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; [&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;name&#39; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; __(&#39;Products&#39;),&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;singular_name&#39; =&amp;gt; __(&#39;Product&#39;),&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;],&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;public&#39; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; true,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;has_archive&#39; =&amp;gt; true,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;rewrite&#39; &amp;nbsp; &amp;nbsp; =&amp;gt; [&#39;slug&#39; =&amp;gt; &#39;products&#39;], // my custom slug&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;]&lt;br /&gt;
&amp;nbsp; &amp;nbsp; );&lt;br /&gt;
}&lt;br /&gt;
add_action(&#39;init&#39;, &#39;wporg_custom_post_type&#39;);&lt;br /&gt;
&lt;br /&gt;
function pluginprefix_install()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // trigger our function that registers the custom post type&lt;br /&gt;
&amp;nbsp; &amp;nbsp; wporg_custom_post_type();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // clear the permalinks after the post type has been registered&lt;br /&gt;
&amp;nbsp; &amp;nbsp; flush_rewrite_rules();&lt;br /&gt;
}&lt;br /&gt;
register_activation_hook( __FILE__, &#39;pluginprefix_install&#39; );&lt;br /&gt;
&lt;br /&gt;
function pluginprefix_deactivation()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // our post type will be automatically removed, so no need to unregister it&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; // clear the permalinks to remove our post type&#39;s rules&lt;br /&gt;
&amp;nbsp; &amp;nbsp; flush_rewrite_rules();&lt;br /&gt;
}&lt;br /&gt;
register_deactivation_hook( __FILE__, &#39;pluginprefix_deactivation&#39; );&lt;br /&gt;
&lt;br /&gt;
function product_meta_box(){&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;add_meta_box(&#39;raidco-sku-meta-box&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; &#39;test&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; &#39;test&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; &#39;product&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; &#39;normal&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; &#39;high&#39;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
add_action(&#39;add_meta_boxes&#39;,&#39;product_meta_box&#39;);&lt;br /&gt;
&lt;br /&gt;
function test(){&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;global $wpdb;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;global $post;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;wp_nonce_field(__FILE__,&#39;form_csrf&#39;);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$test= get_post_meta( $post-&amp;gt;ID,&#39;test&#39;,true );&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;div class=&quot;wrap&quot;&amp;gt;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;input name=&quot;test&quot; class=&quot;raidco-controls&quot; style=&quot;width:36%&quot; id=&quot;test&quot; value=&quot;&amp;lt;?php echo $test; ?&amp;gt;&quot; data-validation=&quot;test&quot; placeholder=&quot;&quot;&amp;gt;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;?php&lt;br /&gt;
&amp;nbsp;$url =get_post_meta($post-&amp;gt;ID,&#39;my-image-for-post&#39;, true); &amp;nbsp; ?&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;input id=&quot;my_image_URL&quot; name=&quot;my_image_URL&quot; type=&quot;hidden&quot; value=&quot;&amp;lt;?php echo $url;?&amp;gt;&quot; &amp;nbsp;style=&quot;width:400px;&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;input id=&quot;my_upl_button&quot; type=&quot;button&quot; value=&quot;Upload Image&quot; /&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;img src=&quot;&amp;lt;?php echo $url;?&amp;gt;&quot; style=&quot;width:200px;&quot; id=&quot;picsrc&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; jQuery(document).ready( function( $ ) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jQuery(&#39;#my_upl_button&#39;).click(function() {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; window.send_to_editor = function(html) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; imgurl = jQuery(html).attr(&#39;src&#39;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jQuery(&#39;#my_image_URL&#39;).val(imgurl);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jQuery(&#39;#picsrc&#39;).attr(&quot;src&quot;,imgurl);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tb_remove();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; formfield = jQuery(&#39;#my_image_URL&#39;).attr(&#39;name&#39;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tb_show( &#39;&#39;, &#39;media-upload.php?type=image&amp;amp;amp;TB_iframe=true&#39; );&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; });&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
}&lt;br /&gt;
function save_product($post_id){&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;global $post;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;update_post_meta( $post-&amp;gt;ID,&#39;test&#39;,$_POST[&#39;test&#39;]);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; if (isset($_POST[&#39;my_image_URL&#39;])){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; update_post_meta($post_id, &#39;my-image-for-post&#39;,$_POST[&#39;my_image_URL&#39;]);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
add_action(&#39;save_post&#39;,&#39;save_product&#39;);&lt;br /&gt;
&lt;br /&gt;
// product Shortcode&lt;br /&gt;
function product_shortcode()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; $args = array(&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;post_type&#39; =&amp;gt; &#39;product&#39;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;post_status&#39; =&amp;gt; &#39;publish&#39;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $string = &#39;&#39;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $query = new WP_Query( $args );&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if( $query-&amp;gt;have_posts() ){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $string .= &#39;&amp;lt;ul&amp;gt;&#39;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while( $query-&amp;gt;have_posts() ){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $query-&amp;gt;the_post();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $string .= &#39;&amp;lt;li&amp;gt;&#39; . get_the_title() . &#39;&amp;lt;/li&amp;gt;&#39;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $string.=&#39;&amp;lt;li&amp;gt;&#39;.the_content().&#39;&amp;lt;/li&amp;gt;&#39;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $string .= &#39;&amp;lt;/ul&amp;gt;&#39;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wp_reset_postdata();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return $string;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
add_shortcode(&#39;product&#39;, &#39;product_shortcode&#39;);&lt;br /&gt;
&lt;br /&gt;
//single plugin template&lt;br /&gt;
&lt;br /&gt;
add_filter(&#39;single_template&#39;, &#39;my_custom_template&#39;);&lt;br /&gt;
&lt;br /&gt;
function my_custom_template($single) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; global $wp_query, $post;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; /* Checks for single template by post type */&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if ($post-&amp;gt;post_type == &quot;product&quot;){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; if ( is_single() ) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; require(TEST__PLUGIN_DIR . &#39;test1.php&#39; );&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; //image custom&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; function my_admin_scripts() { &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; wp_enqueue_script(&#39;media-upload&#39;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; wp_enqueue_script(&#39;thickbox&#39;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; wp_register_script(&#39;my-upload&#39;, TEST_PLUGIN_URL.&#39;/my-script.js&#39;, array(&#39;jquery&#39;,&#39;media-upload&#39;,&#39;thickbox&#39;));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; wp_enqueue_script(&#39;my-upload&#39;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function my_admin_styles() {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; wp_enqueue_style(&#39;thickbox&#39;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// better use get_current_screen(); or the global $current_screen&lt;br /&gt;
if (isset($_GET[&#39;page&#39;]) &amp;amp;&amp;amp; $_GET[&#39;page&#39;] == &#39;my_plugin_page&#39;) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; add_action(&#39;admin_print_scripts&#39;, &#39;my_admin_scripts&#39;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; add_action(&#39;admin_print_styles&#39;, &#39;my_admin_styles&#39;);&lt;br /&gt;
}&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/1490223400493208706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/1490223400493208706'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/07/wordpress-basic-setup.html' title='Wordpress Basic Setup '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-7765963804180659526</id><published>2017-03-29T00:22:00.001-07:00</published><updated>2017-03-29T00:22:13.334-07:00</updated><title type='text'>button onclick  event example javascript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Here is the example of button click Example javascipt&lt;br /&gt;
&lt;br /&gt;
&amp;lt;button onclick=&quot;myFun()&quot;&amp;gt;Click me&amp;lt;/button&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p id=&quot;demo&quot;&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
function myFun()&lt;br /&gt;
{&lt;br /&gt;
document.getElementById(&quot;demo&quot;).innerHTML=&quot;Test&quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/7765963804180659526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/7765963804180659526'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/03/button-onclick-event-example-javascript.html' title='button onclick  event example javascript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-723577526601965281</id><published>2017-03-28T23:52:00.002-07:00</published><updated>2017-03-28T23:52:51.249-07:00</updated><title type='text'>Javascript function</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;intro&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Verdana, sans-serif; font-size: 16px;&quot;&gt;
A JavaScript function is a block of code designed to perform a particular task.&lt;/div&gt;
&lt;div class=&quot;intro&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Verdana, sans-serif; font-size: 16px;&quot;&gt;
A JavaScript function is executed when &quot;something&quot; calls it&lt;/div&gt;
&lt;div class=&quot;intro&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Verdana, sans-serif; font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;intro&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Verdana, sans-serif; font-size: 16px;&quot;&gt;
Here is Example Of javascript function&lt;/div&gt;
&lt;div class=&quot;intro&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Verdana, sans-serif; font-size: 16px;&quot;&gt;
&amp;lt;script&amp;gt;&lt;/div&gt;
&lt;div class=&quot;intro&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Verdana, sans-serif; font-size: 16px;&quot;&gt;
function myfun(p,p1)&lt;/div&gt;
&lt;div class=&quot;intro&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Verdana, sans-serif; font-size: 16px;&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;intro&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Verdana, sans-serif; font-size: 16px;&quot;&gt;
return p * p1;&lt;/div&gt;
&lt;div class=&quot;intro&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Verdana, sans-serif; font-size: 16px;&quot;&gt;
}&lt;/div&gt;
&lt;div class=&quot;intro&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Verdana, sans-serif; font-size: 16px;&quot;&gt;
document.getElementById(&quot;test&quot;).innerHTML=myfun(4,1);&lt;/div&gt;
&lt;div class=&quot;intro&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Verdana, sans-serif; font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;intro&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Verdana, sans-serif; font-size: 16px;&quot;&gt;
&amp;lt;/script&amp;gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/723577526601965281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/723577526601965281'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/03/javascript-function.html' title='Javascript function'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-5074092521888424222</id><published>2017-03-28T23:21:00.001-07:00</published><updated>2017-03-28T23:21:30.139-07:00</updated><title type='text'>Javascript Objects</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;JavaScript objects are written with curly braces.&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;Object properties are written as name:value pairs, separated by commas.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;Here is Example of object&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&amp;lt;p id=&quot;&quot;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&amp;lt;script&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;var per={name:&quot;bipin&quot;,sex:&quot;male&quot;,age:&quot;20&quot;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;document.getelementById(&quot;test&quot;).innerHTML=per.name&amp;nbsp;+&quot;&quot;+ per.sex+&quot;&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/5074092521888424222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/5074092521888424222'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/03/javascript-objects.html' title='Javascript Objects'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-8843163709671639869</id><published>2017-03-28T23:12:00.003-07:00</published><updated>2017-03-28T23:12:42.035-07:00</updated><title type='text'>javascript array</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Javascript array declare in &lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;square brackets and array ithem are seperated by commas&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;Here is Example of array in javascript&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&amp;lt;p id=&quot;test&quot;&amp;gt; &amp;lt;/p&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&amp;lt;script&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;var car=[&quot;honda&quot;,&quot;maruti&quot;,&quot;tata&quot;];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;getElementById(&quot;test&quot;).innerHTML=car[0];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
0utput will get honda..&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/8843163709671639869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/8843163709671639869'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/03/javascript-array.html' title='javascript array'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-7354434202927034824</id><published>2017-03-28T22:57:00.001-07:00</published><updated>2017-03-28T22:57:23.299-07:00</updated><title type='text'>How can add value to variable</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
we can use&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;+= operater to add a value to varable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;For example&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&amp;lt;p id=&quot;test&quot;&amp;gt; &amp;nbsp;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&amp;lt;script&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
var a;&lt;br /&gt;
&lt;br /&gt;
a=10;&lt;br /&gt;
a+=10;&lt;br /&gt;
&lt;br /&gt;
document.getElementById(&quot;test&quot;).innerHTML=a;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&amp;lt;/srcipt&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/7354434202927034824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/7354434202927034824'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/03/how-can-add-value-to-variable.html' title='How can add value to variable'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-1333152624979855964</id><published>2017-03-28T22:29:00.004-07:00</published><updated>2017-03-28T22:29:59.726-07:00</updated><title type='text'>How can concatenate String in javascript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;+ operator used for concatenate string in Javascript&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;We can also use&amp;nbsp;+=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;operator for concatenate string&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;Example like&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;var a,b,c;&lt;/span&gt;&lt;br /&gt;
a=&quot;test&quot;;&lt;br /&gt;
b=&quot;test1&quot;;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;c&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Consolas, &amp;quot;courier new&amp;quot;; font-size: 16px;&quot;&gt;= a+&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; box-sizing: inherit; color: brown; font-family: Consolas, &amp;quot;courier new&amp;quot;; font-size: 16px;&quot;&gt;&quot; &quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Consolas, &amp;quot;courier new&amp;quot;; font-size: 16px;&quot;&gt;&amp;nbsp;+ b;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Consolas, &amp;quot;courier new&amp;quot;; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Consolas, &amp;quot;courier new&amp;quot;; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/1333152624979855964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/1333152624979855964'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/03/how-can-concatenate-string-in-javascript.html' title='How can concatenate String in javascript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-5882923479685365293</id><published>2017-03-28T22:18:00.001-07:00</published><updated>2017-03-28T22:18:23.655-07:00</updated><title type='text'>what is Value = undefined in javascript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
a variable declare a value not defind that is called undefind&lt;br /&gt;
&lt;br /&gt;
For Example&lt;br /&gt;
&amp;lt;p id=&quot;test&quot;&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
Var a;&lt;br /&gt;
&lt;br /&gt;
document.getElementById(&quot;test&quot;).innerHTML=a;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/5882923479685365293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/5882923479685365293'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/03/what-is-value-undefined-in-javascript.html' title='what is Value = undefined in javascript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-221328145222514292</id><published>2017-03-28T22:12:00.001-07:00</published><updated>2017-03-28T22:12:15.564-07:00</updated><title type='text'>Javascript Comment</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, Arial, sans-serif; font-size: 30px; font-weight: 400; margin: 10px 0px;&quot;&gt;
&lt;br /&gt;&lt;/h2&gt;
&lt;div&gt;
There are two type comment in javascipt&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
one is &lt;b&gt;single line&lt;/b&gt; comment&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
//&lt;/div&gt;
&lt;div&gt;
other one is multi line comment&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
/*&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
*/&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/221328145222514292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/221328145222514292'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/03/javascript-comment.html' title='Javascript Comment'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-3036865699307620806</id><published>2017-03-28T22:03:00.003-07:00</published><updated>2017-03-28T22:03:35.398-07:00</updated><title type='text'>How Can Assigning value in javascript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;How Can Assigning value in javascript&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
We can assign value in javascript in = sign&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is the Example of code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p id=&quot;test&quot;&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
var a,b&lt;br /&gt;
a=10;&lt;br /&gt;
b=10&lt;br /&gt;
document.getElementById(&quot;test&quot;).innerHML=a+b;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Output will be 20 ...&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/3036865699307620806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/3036865699307620806'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/03/how-can-assigning-value-in-javascript.html' title='How Can Assigning value in javascript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-6368266988336495953</id><published>2017-03-23T23:05:00.002-07:00</published><updated>2017-03-23T23:05:36.197-07:00</updated><title type='text'>Simple Example of Javascript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;!DOCTYPE html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h1&amp;gt;Simple Example of javascript&amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p id=&quot;demo&quot;&amp;gt;Test&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;button type=&quot;button&quot; onclick=&#39;document.getElementById(&quot;demo&quot;).innerHTML = &quot;Hello JavaScript!&quot;&#39;&amp;gt;Click Me!&amp;lt;/button&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it will display out&lt;br /&gt;
&lt;br /&gt;
&lt;h1&gt;
Simple Example of javascript&lt;/h1&gt;
&lt;div id=&quot;demo&quot;&gt;
Hello JavaScript!&lt;/div&gt;
&lt;button type=&quot;button&quot;&gt;Click Me!&lt;/button&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/6368266988336495953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/6368266988336495953'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/03/simple-example-of-javascript.html' title='Simple Example of Javascript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-7007635994652256948</id><published>2017-03-23T23:01:00.000-07:00</published><updated>2017-03-23T23:01:44.163-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="what is javascript"/><title type='text'>What is javascript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
JavaScript is programming language of html and Web. JavaScript &amp;nbsp;is dynamic and high level and interpreted programming language also it easy to study for learners&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/7007635994652256948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/7007635994652256948'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2017/03/what-is-javascript.html' title='What is javascript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-8943120201359686505</id><published>2014-07-02T21:53:00.000-07:00</published><updated>2014-07-02T21:53:00.148-07:00</updated><title type='text'>How can create a plugin in elgg</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;I would like to share some basics about plugin development in elgg .&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;In elgg all the plugins will be in mod directory. You can drop your plugin in this directory.&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;First you need a name for your plugin.The names of the plugins in an installation must be unique.&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;you need a ‘start.php’ file for each plugin which to describe the common functions for a plugin.This file can be considered as the core controller of all plugins .The start.php must have an init function which initializes the plugin .&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;You have to register this function to elgg system and have to make sure the initialisation function is called on initialisation.&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;The following is a sample if the init functuion is yourplugin_init()&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;register_elgg_event_handler(&#39;init&#39;,&#39;system&#39;,’yourplugin _init&#39;);&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;In common the elgg plugin will have following folders&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;actions : Commonly all action(normally form actions) files are saved in this folder.&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;And you can register all the actions involved in a plugin with in its start.php file&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;The function is as follows .&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;register_action($action, $public = false, $filename = &quot;&quot;, $admin_only = false)&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;For example&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;register_action(&#39;blog/add&#39;,false,$CONFIG-&amp;gt;pluginspath . &quot;blog/actions/add.php&quot;);&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;the parameters of the register_action indicates&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;action : The name of the action (here &quot;blog/add&quot;)&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;second parameter is a Boolean parameter.which indicates whether the action is public or not that is whether this action be accessed by people not logged into the system or not.In above example false indicates that it is not a public action.&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;Next is filename that is where the action is located here the action is located in blog/actions/add.php , $CONFIG-&amp;gt;pluginspath gives the path to plugin s that is the full path to mod directory of your elgg installation .&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;And if it is required you can register the action as admin action .you have to set the fourth parameter as true for this by default it in false.&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;Views : In common all html files will be in this folder .You can call these views in the plugin using the function&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;elgg_view(‘viewname’,$array_of params)&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;You can override existing views also.The view lodes based on the plugin priority.&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;You can extend views using the function extend_view(&#39;original view &#39;,&#39;your view&#39;);&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;The view folder contains a default folder which holds all the views of plugin .For the easiness .For the easiness you can use subfolders in the default folder.&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;For example if you have a plugin named blog and it have a view called create.php in the path views /defaults/blogs/create.php you can call this view like ‘blogs/create ‘ .That is you can call the view as follows elgg_view(‘blogs/create’)&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;Language file :&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;This file contains the language translations for the plugin.&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;Creating Friendly URLS:&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;You can create nice URLs for your plugin using page handler function.for doing this you have to define and register a page handler in `start.php`,&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;function handlerfunction($page) {&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;switch ($page[0])&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;case &#39;index&#39;:&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;Your code for the index view&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;break;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;case &#39;your_view&#39;:&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;include(‘yourview’);&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;break;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;}&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;register_page_handler(handler, &#39;handler_function’);&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;in this function the first argument handler is your entity type, the next argument is the your plugin function handling the request which will get passed as an array in `$page` this carries each url segments. You can check for a location and can create the cases corresponding to that.&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;User settings:&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;Plugins might have some settings , You can create the view in the file settings.phpand you can retrieve the settings by the following function&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;get_plugin_setting($name, $plugin_name );&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;and you can set values using&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;set_plugin_setting($name, $value, $plugin_name);function&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;You can create widgets on your plugins .The widget might be in the folder views/default/widgets&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;The widgets folder may have two files one is view.php that is view of widget and the other is eidt.php that is the page for setting the widget display options like number of items to be displayed etc.&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;You can initialize the widget in the init function using the following function&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; margin: 0px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; display: inline !important; float: none; font-family: Arial, Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.60900115966797px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;add_widget_type(&#39;widgettitle&#39;,$name_of_widget,$desc_of_widget) .&lt;/span&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/8943120201359686505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/8943120201359686505'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2014/07/how-can-create-plugin-in-elgg.html' title='How can create a plugin in elgg'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-5918364501673149985</id><published>2014-06-26T04:04:00.001-07:00</published><updated>2014-06-26T04:04:19.958-07:00</updated><title type='text'>simple  explode program in php</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;?php &lt;br /&gt;//explode string into array&lt;br /&gt;$str=&quot; Test Explode function in php &quot;;&lt;br /&gt;print_r (explode(&quot; &quot;,$str));&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;br /&gt;it will be Output like:&lt;br /&gt;&lt;br /&gt;Array ( [0] =&amp;gt; [1] =&amp;gt; Test [2] =&amp;gt; Explode [3] =&amp;gt; function [4] =&amp;gt; in [5] =&amp;gt; php [6] =&amp;gt; )&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/5918364501673149985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/5918364501673149985'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2014/06/simple-explode-program-in-php.html' title='simple  explode program in php'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-4301918593035098896</id><published>2014-06-26T02:02:00.002-07:00</published><updated>2014-06-26T02:02:39.153-07:00</updated><title type='text'>simple example php function</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;?php&lt;br /&gt;//simple example php function&lt;br /&gt;function welcome()&lt;br /&gt;{&lt;br /&gt;echo &quot;Welcome to Function&quot;;&lt;br /&gt;}&lt;br /&gt;welcome();&lt;br /&gt;?&amp;gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/4301918593035098896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/4301918593035098896'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2014/06/simple-example-php-function.html' title='simple example php function'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-1330573383699756775</id><published>2014-06-26T01:43:00.001-07:00</published><updated>2014-06-26T01:43:38.500-07:00</updated><title type='text'>how can create notepad file in php</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;?php&lt;br /&gt;//how can create notepad file in php&lt;br /&gt;$t= fopen(&quot;testfiles.txt&quot;, &quot;w&quot;) or die(&quot;Unable to open file!&quot;);&lt;br /&gt;$txt = &quot;John Doe\n&quot;;&lt;br /&gt;fwrite($t, $txt);&lt;br /&gt;$txt = &quot;Jane Doe\n&quot;;&lt;br /&gt;fwrite($t, $txt);&lt;br /&gt;fclose($t);&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/1330573383699756775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/1330573383699756775'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2014/06/how-can-create-notepad-file-in-php.html' title='how can create notepad file in php'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-4825222779257545418</id><published>2014-06-25T02:40:00.001-07:00</published><updated>2014-06-25T02:40:07.622-07:00</updated><title type='text'>common type of errors in php</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1) Warning&lt;br /&gt;
2) Notice&lt;br /&gt;
3) Fatal&amp;nbsp; &lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/4825222779257545418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/4825222779257545418'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2014/06/common-type-of-errors-in-php.html' title='common type of errors in php'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-7831562784924782196</id><published>2014-06-24T23:41:00.003-07:00</published><updated>2014-06-24T23:41:31.621-07:00</updated><title type='text'>simple uploading script in php</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;?php&lt;br /&gt;//simple uploading script in php&lt;br /&gt;//echo &quot;Upload: &quot; . $_FILES[&quot;file&quot;][&quot;name&quot;] . &quot;&amp;lt;br&amp;gt;&quot;;&lt;br /&gt;echo &quot;File Name &quot;.$_FILES[&quot;file&quot;][&quot;name&quot;] . &quot;&amp;lt;br&amp;gt;&quot;;&lt;br /&gt;echo &quot;File Type &quot;.$_FILES[&quot;file&quot;][&quot;type&quot;] . &quot;&amp;lt;br&amp;gt;&quot;;&lt;br /&gt;echo &quot;File Temp &quot;.$_FILES[&quot;file&quot;][&quot;tmp_name&quot;] . &quot;&amp;lt;br&amp;gt;&quot;;&lt;br /&gt;echo &quot;File Size &quot;.$_FILES[&quot;file&quot;][&quot;size&quot;].&quot;&amp;lt;br&amp;gt;&quot;;&lt;br /&gt;move_uploaded_file($_FILES[&quot;file&quot;][&quot;tmp_name&quot;],$_FILES[&quot;file&quot;][&quot;name&quot;]);&lt;br /&gt;?&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Simple file uploading in php&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;form method=&quot;post&quot; action=&quot;fileuploading.php&quot; enctype=&quot;multipart/form-data&quot; &amp;gt;&lt;br /&gt;&amp;lt;label for=&quot;file&quot;&amp;gt;Filename:&amp;lt;/label&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;file&quot; name=&quot;file&quot; id=&quot;file&quot;&amp;gt;&lt;br /&gt;&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Submit&quot;&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/7831562784924782196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/7831562784924782196'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2014/06/simple-uploading-script-in-php.html' title='simple uploading script in php'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-4001965367235720006</id><published>2014-06-24T21:51:00.002-07:00</published><updated>2014-06-24T21:51:33.089-07:00</updated><title type='text'>While loop example in php</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;?php&lt;br /&gt;//While loop example in php(print 1 to 10)&lt;br /&gt;$x=1;&lt;br /&gt;while($x&amp;lt;=10)&lt;br /&gt;{&lt;br /&gt;echo $x;&lt;br /&gt;$x++;&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/4001965367235720006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/4001965367235720006'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2014/06/while-loop-example-in-php.html' title='While loop example in php'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-7153332056597605849</id><published>2014-06-24T21:43:00.002-07:00</published><updated>2014-06-24T21:43:42.685-07:00</updated><title type='text'>switch case example in php</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;?php&lt;br /&gt;//switch case example in php&lt;br /&gt;$day=&quot;Sunday&quot;;&lt;br /&gt;switch($day)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; case &quot;Monday&quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp; echo &quot;Monday&quot;;&lt;br /&gt;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp; case &quot;Tuesday&quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp; echo &quot;Tuesday&quot;;&lt;br /&gt;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp; case &quot;Wednesday&quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp; echo &quot;Wednesday&quot;;&lt;br /&gt;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp; case &quot;Thurday&quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp; echo &quot;Thurday&quot;;&lt;br /&gt;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp; case &quot;Friday&quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp; echo &quot;Friday&quot;;&lt;br /&gt;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp; case &quot;Saturday&quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp; echo &quot;Saturday&quot;;&lt;br /&gt;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp; default:&lt;br /&gt;&amp;nbsp; echo &quot;Sunday&quot;;&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/7153332056597605849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/7153332056597605849'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2014/06/switch-case-example-in-php.html' title='switch case example in php'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-5448196682165003254</id><published>2014-06-24T03:05:00.000-07:00</published><updated>2014-06-24T03:05:03.499-07:00</updated><title type='text'>what is differences between PHP4 and PHP5</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;panel-pane pane-custom pane-1&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #111111; font-family: Helvetica, Arial, &#39;Nimbus Sans L&#39;, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20.799999237060547px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;pane-content&quot;&gt;
&lt;div style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;b&gt;&lt;i&gt;PHP4 and PHP5:&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;background: transparent; list-style-type: disc; margin: 0px 0px 0px 35px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 removed register_globals, magic quotes, and safe mode. This was due to the fact that register_globals had opened security holes by intentionally allowing runtime data injection and the use of magic quotes had an unpredictable nature.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP4 was powered by Zend Engine 1.0, while PHP5 was powered by Zend Engine II.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 replaced magic quotes with the addslashes() function in order to escape characters.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP4 is more of a procedure language while PHP5 is object oriented.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;In PHP5 one can declare a class as Abstract.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 incorporates static methods and properties.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduces a special function called __autoload()&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 allows one to declare a class or method as Final&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduces a number of magic methods, such as __call, __get, __set and __toString&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;In PHP5, there are 3 levels of visibilities: Public, private and protected.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduced exceptions.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;In PHP4, everything was passed by value, including objects. Whereas in PHP5, all objects are passed by reference.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduces interfaces. All the methods defined in an interface must be public.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduces new error level defined as ‘E_STRICT’&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduces new default extensions such as SimpleXML, DOM and XSL, PDO, and Hash.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduces new functions.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduces some new reserved keywords.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 includes additional OOP concepts than php4, like access specifiers , inheritance etc.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 includes improved support of current content management systems.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 includes reduced consumption of RAM.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduces increased security against exploitation of vulnerabilities in PHP scripts.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduces easier programming through new functions and extensions.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduces a new MySQL extension named MySQLi for developers using MySQL 4.1 and later.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;In PHP5, SQLite has been bundled with PHP.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduces a brand new built-in SOAP extension for interoperability with Web Services.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;PHP5 introduces a new SimpleXML extension for easily accessing and manipulating XML as PHP objects. It can also interface with the DOM extension and vice-versa.&lt;/li&gt;
&lt;li style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 2px 0px; vertical-align: baseline;&quot;&gt;In PHP5, streams have been greatly improved, including the ability to access low-level socket operations on streams.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;panel-pane pane-custom pane-2&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #111111; font-family: Helvetica, Arial, &#39;Nimbus Sans L&#39;, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20.799999237060547px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;
&lt;div class=&quot;pane-content&quot;&gt;
&lt;div style=&quot;background: transparent; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/5448196682165003254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/5448196682165003254'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2014/06/what-is-differences-between-php4-and.html' title='what is differences between PHP4 and PHP5'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-7027402759800771003</id><published>2014-06-24T02:37:00.002-07:00</published><updated>2014-06-24T02:37:02.348-07:00</updated><title type='text'>What is the difference between echo and print statement in PHP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h4 style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #484848; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 15px; orphans: auto; text-align: start; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;
What is the difference between echo and print statement in PHP?&lt;/h4&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: black; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 15px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;
Multiple expressions can be given in echo statement, where as print cannot take multiple expressions.&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;Echo does not have a return value, where as print returns a value indicating successful execution.&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;Echo is faster when compared with print.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/7027402759800771003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/7027402759800771003'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2014/06/what-is-difference-between-echo-and.html' title='What is the difference between echo and print statement in PHP'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9045278382537007305.post-183065593937007976</id><published>2014-06-23T23:12:00.001-07:00</published><updated>2014-06-23T23:12:16.658-07:00</updated><title type='text'>Create table in mysql</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;lt;?php &lt;br /&gt;create table user(id int(10) NOT NULL AUTO_INCREMENT,username varchar(100) not null,password varchar(100),primary key(id));&lt;br /&gt;?&amp;gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/183065593937007976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9045278382537007305/posts/default/183065593937007976'/><link rel='alternate' type='text/html' href='http://phpsimpleqa.blogspot.com/2014/06/create-table-in-mysql.html' title='Create table in mysql'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>