<?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-8893719012839788998</id><updated>2024-08-31T19:39:25.021-07:00</updated><category term="PHP"/><category term="Mysql"/><category term="javascript"/><category term="Dayanmic pagination"/><category term="Session"/><category term="ajax"/><category term="edit record"/><category term="email"/><category term="free"/><category term="mail"/><category term="payment gateway"/><category term="table"/><category term="Bcc"/><category term="CAPTCHA"/><category term="Case"/><category term="Check field empty in Js"/><category term="Image"/><category term="Image Text"/><category term="Js"/><category term="Thumbnails"/><category term="Upload"/><category term="browser"/><category term="cantact us"/><category term="ccavenue"/><category term="control function"/><category term="convert"/><category term="csv"/><category term="date validation"/><category term="daynamic"/><category term="download file"/><category term="email upload"/><category term="email validation in js"/><category term="email validation in php"/><category term="email verification"/><category term="excel"/><category term="export"/><category term="ffmpeg"/><category term="firebug"/><category term="flv"/><category term="form validation in Javascript"/><category term="group"/><category term="htaccess"/><category term="if"/><category term="ifnull"/><category term="image change"/><category term="lenght check"/><category term="login"/><category term="menu"/><category term="multiple form"/><category term="navigation"/><category term="nullif"/><category term="page no"/><category term="password strength"/><category term="payment"/><category term="paypal"/><category term="paypal pro"/><category term="phpbb3"/><category term="rand"/><category term="rss"/><category term="share image"/><category term="spell check"/><category term="standard"/><category term="submit form"/><category term="tab"/><category term="text search"/><category term="text slide show"/><category term="thum cut"/><category term="tracking"/><category term="url rewirting"/><category term="video duration"/><category term="video rss feed"/><category term="video upload"/><title type='text'>Open Source Programmer</title><subtitle type='html'>Solution for programmer</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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>42</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-6750889228957675027</id><published>2010-08-31T22:51:00.000-07:00</published><updated>2013-07-01T08:12:58.277-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Js"/><category scheme="http://www.blogger.com/atom/ns#" term="password strength"/><title type='text'>Javascript function to check Password Strength</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There is few line of code for check strength at client side with the help of Javascript and CSS.&lt;br /&gt;
&lt;br /&gt;
In this code JS function will check the combination of password by found simple character and numeric character and special character. &amp;nbsp;and Check length of password it should be more or equal of 6.&lt;br /&gt;
&lt;br /&gt;
Password with simple only character or number will week and with combination of character and number will medium and with character and number and special character is strong.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Css Code&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
.strength0&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;width:250px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background:#cccccc;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.strength1&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;width:50px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background:#ff0000;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.strength2&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;width:100px;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background:#ff5f5f;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.strength3&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;width:150px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background:#56e500;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.strength4&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background:#4dcd00;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;width:200px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.strength5&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background:#399800;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;width:250px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Javascript Function Code&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
function passwordStrength(password,passwordStrength,errorField)&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var desc = new Array();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;desc[0] = &quot;Very Weak&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;desc[1] = &quot;Weak&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;desc[2] = &quot;Better&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;desc[3] = &quot;Medium&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;desc[4] = &quot;Strong&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;desc[5] = &quot;Strongest&quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var score &amp;nbsp; = 0;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//if password bigger than 6 give 1 point&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if (password.length &amp;gt; 6) score++;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//if password has both lower and uppercase characters give 1 point&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if ( ( password.match(/[a-z]/) ) &amp;amp;&amp;amp; ( password.match(/[A-Z]/) ) ) score++;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//if password has at least one number give 1 point&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if (password.match(/\d+/)) score++;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//if password has at least one special caracther give 1 point&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if ( password.match(/.[!,@,#,$,%,^,&amp;amp;,*,?,_,~,-,(,)]/) )&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;score++;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//if password bigger than 12 give another 1 point&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if (password.length &amp;gt; 12) score++;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; passwordStrength.innerHTML = desc[score];&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; passwordStrength.className = &quot;strength&quot; + score;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://gobol.in/mobile-and-acessories.html?cat=194&amp;amp;price=1%2C10000&amp;amp;acc=cfcd208495d565ef66e7dff9f98764da&amp;amp;bannerid=5&quot; target=&quot;_blank&quot;&gt;&lt;img height=&quot;250&quot; src=&quot;http://gobol.in/js/magestore/affiliateplus/banner.php?id=5&amp;amp;account_id=33&amp;amp;store_id=1&quot; title=&quot;Mobiles&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Html Code of Use it&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;input id=&quot;password&quot; name=&quot;password&quot; onblur=&quot;passwordStrength(this.value,document.getElementById(&#39;strendth&#39;),document.getElementById(&#39;passError&#39;))&quot; size=&quot;40&quot; type=&quot;password&quot; value=&quot;&amp;amp;lt;?=$getRs[0][&#39;contact_person_name&#39;]?&amp;amp;gt;&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;span id=&quot;passError&quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span id=&quot;strendth&quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Working Output&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;For Very weak and weak&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;pass:- abcdef or abcdef123&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk710rwpCXt3C38-d7soRtMrUIEPQ1nlnCoNCNOZQjKIRWxCiDPtERNdLWmr2_k0HAUTE42iTCU0BheBkzaoGV-pBVjAr003tS8p83Mm8xcMmcGktKXxxJcxZ1wxUkSKp0WmcmYjG1JYY_/s1600/vweek.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk710rwpCXt3C38-d7soRtMrUIEPQ1nlnCoNCNOZQjKIRWxCiDPtERNdLWmr2_k0HAUTE42iTCU0BheBkzaoGV-pBVjAr003tS8p83Mm8xcMmcGktKXxxJcxZ1wxUkSKp0WmcmYjG1JYY_/s320/vweek.png&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI75cfn-N7rgt-xQVp96a_kdJsi_j7KOwfX37z6Yw43uEUFBrXYS47Nj1O4qDhR4551b56kUfa5W2YLGCC1YPHmkGfw_Wn7o67yEDkXDgiSqwLHJtPsR0QNM201Y6g6bNqDneDD7PazP-p/s1600/week.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI75cfn-N7rgt-xQVp96a_kdJsi_j7KOwfX37z6Yw43uEUFBrXYS47Nj1O4qDhR4551b56kUfa5W2YLGCC1YPHmkGfw_Wn7o67yEDkXDgiSqwLHJtPsR0QNM201Y6g6bNqDneDD7PazP-p/s320/week.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;for better pass:-abcdef12345&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk710rwpCXt3C38-d7soRtMrUIEPQ1nlnCoNCNOZQjKIRWxCiDPtERNdLWmr2_k0HAUTE42iTCU0BheBkzaoGV-pBVjAr003tS8p83Mm8xcMmcGktKXxxJcxZ1wxUkSKp0WmcmYjG1JYY_/s1600/vweek.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5qZzVDHcrI8PhNT4MW52BlZQmWQlEXowffXmCVH4K9FS3aAx7Wfvm89vvzKp1XvXULFnPfv8R21s_zZsSfiqW5BMiRcm-Ab-Cg2QpKK5x675yOMnd08AHiYmMbJzSFX-ZImIGLDPIJcs5/s1600/better.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5qZzVDHcrI8PhNT4MW52BlZQmWQlEXowffXmCVH4K9FS3aAx7Wfvm89vvzKp1XvXULFnPfv8R21s_zZsSfiqW5BMiRcm-Ab-Cg2QpKK5x675yOMnd08AHiYmMbJzSFX-ZImIGLDPIJcs5/s320/better.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5qZzVDHcrI8PhNT4MW52BlZQmWQlEXowffXmCVH4K9FS3aAx7Wfvm89vvzKp1XvXULFnPfv8R21s_zZsSfiqW5BMiRcm-Ab-Cg2QpKK5x675yOMnd08AHiYmMbJzSFX-ZImIGLDPIJcs5/s1600/better.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;for strong&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFU44wSnZsCSyFkMxyDV8_D-Xv2aXd17WW22qlezyxiFgEMxINiBv3P4I1jAC4wuZgOwtBgjn9HMQx_oJDUH4tuys0wEyCQ0aaW3ZuR1IyHcYCmYsM6CxBHb-dvXbo8uAAu6XmhrXx5Wic/s1600/strong.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFU44wSnZsCSyFkMxyDV8_D-Xv2aXd17WW22qlezyxiFgEMxINiBv3P4I1jAC4wuZgOwtBgjn9HMQx_oJDUH4tuys0wEyCQ0aaW3ZuR1IyHcYCmYsM6CxBHb-dvXbo8uAAu6XmhrXx5Wic/s320/strong.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/6750889228957675027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/08/javascript-function-to-check-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/6750889228957675027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/6750889228957675027'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/08/javascript-function-to-check-password.html' title='Javascript function to check Password Strength'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk710rwpCXt3C38-d7soRtMrUIEPQ1nlnCoNCNOZQjKIRWxCiDPtERNdLWmr2_k0HAUTE42iTCU0BheBkzaoGV-pBVjAr003tS8p83Mm8xcMmcGktKXxxJcxZ1wxUkSKp0WmcmYjG1JYY_/s72-c/vweek.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-1688321871235302878</id><published>2010-08-04T23:03:00.000-07:00</published><updated>2011-09-25T07:25:45.900-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dayanmic pagination"/><category scheme="http://www.blogger.com/atom/ns#" term="page no"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>Dynamic Pagination by Selecting Page No</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Pagination by selecting page no for navigation,&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
This code will help u send page no as parameter in url for navigate in paging.&lt;br /&gt;
&lt;br /&gt;
we send page no 1,2,3 not sending record start position for record show or navigate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
//paging style css code start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.paging { padding:10px 0px 0px 0px; text-align:center; font-size:13px;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.paging.display{text-align:right;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.paging a, .paging span {padding:2px 8px 2px 8px;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.paging span {font-weight:bold; color:#000; font-size:13px; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.paging a {color:#000; text-decoration:none; border:1px solid #dddddd;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.paging a:hover { text-decoration:none; background-color:#6C6C6C; color:#fff; border-color:#000;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.paging span.prn { font-size:13px; font-weight:normal; color:#aaa; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.paging a.prn { border:2px solid #dddddd;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.paging a.prn:hover { border-color:#000;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.paging p#total_count{color:#aaa; font-size:12px; padding-top:8px; padding-left:18px;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.paging p#total_display{color:#aaa; font-size:12px; padding-top:10px;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
//paging style css code end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// paging php code start &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$num; //total no of record from sql query&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$display;//no of record display on page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$noDisplayPageNo=10; // no of page no range want to show on page &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$query=&quot;&quot;; // addition parameter or sending data need to send with page no in url &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$display=10;&lt;br /&gt;
if(!isset($_REQUEST[&#39;init&#39;]) || $_REQUEST[&#39;init&#39;]==&quot;&quot;){&lt;br /&gt;
$init=$start=0;&lt;br /&gt;
&lt;br /&gt;
}else{&lt;br /&gt;
$init=$_REQUEST[&#39;init&#39;];&lt;br /&gt;
$start=($init)*$display;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$pages=ceil($num/$display);&lt;br /&gt;
&lt;br /&gt;
$current = ($start/$display)+1;&lt;br /&gt;
&lt;br /&gt;
$startpageNo=max($current-intval($noDisplayPageNo/2), 1); // start page no range&lt;br /&gt;
$endpageNo=$start+$noDisplayPageNo-1; // end page no range &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if(strlen($query)&amp;gt;0){&lt;br /&gt;
$query = &quot;&amp;amp;amp;&quot;.$query_string;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
echo &#39;&amp;lt;div class=&quot;paging&quot;&amp;gt;&#39;;&lt;br /&gt;
&lt;br /&gt;
if($current==1) {&lt;br /&gt;
echo &#39;&amp;lt;span class=&quot;prn&quot;&amp;gt;&amp;amp;lt; Previous&amp;lt;/span&amp;gt; &#39;;&lt;br /&gt;
} else {&lt;br /&gt;
$i = $current-1;&lt;br /&gt;
//echo &#39;--&#39;.$i;&lt;br /&gt;
echo &#39;&amp;lt;a class=&quot;prn&quot; title=&quot;go to page &#39;.$i.&#39;&quot; rel=&quot;nofollow&quot; href=&quot;&#39;.$_SERVER[&#39;PHP_SELF&#39;].&#39;?init=&#39;.($i-1).$query.&#39;&quot;&amp;gt;&amp;amp;lt; Previous&amp;lt;/a&amp;gt;&#39;;&lt;br /&gt;
echo &#39;&amp;lt;span class=&quot;prn&quot;&amp;gt;...&amp;lt;/span&amp;gt; &#39;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for ($i = $startpageNo; $i &amp;lt;= $endpageNo &amp;amp;&amp;amp; $i &amp;lt;= $pages; $i++){&lt;br /&gt;
if($i==$current) {&lt;br /&gt;
echo &#39;&amp;lt;span&amp;gt;&#39;.$i.&#39;&amp;lt;/span&amp;gt; &#39;;&lt;br /&gt;
} else {&lt;br /&gt;
echo &#39;&amp;lt;a title=&quot;go to page &#39;.$i.&#39;&quot; href=&quot;&#39;.$_SERVER[&#39;PHP_SELF&#39;].&#39;?init=&#39;.($i-1).$query.&#39;&quot;&amp;gt;&#39;.$i.&#39;&amp;lt;/a&amp;gt; &#39;;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if($current &amp;lt; $pages) {&lt;br /&gt;
$i = $current;&lt;br /&gt;
echo &#39;&amp;lt;span class=&quot;prn&quot;&amp;gt;...&amp;lt;/span&amp;gt; &#39;;&lt;br /&gt;
echo &#39;&amp;lt;a class=&quot;prn&quot; title=&quot;go to page &#39;.$i.&#39;&quot; rel=&quot;nofollow&quot; href=&quot;&#39;.$_SERVER[&#39;PHP_SELF&#39;].&#39;?init=&#39;.$i.$query.&#39;&quot;&amp;gt;Next &amp;amp;gt;&amp;lt;/a&amp;gt; &#39;;&lt;br /&gt;
} else {&lt;br /&gt;
echo &#39;&amp;lt;span class=&quot;prn&quot;&amp;gt;Next &amp;amp;gt;&amp;lt;/span&amp;gt; &#39;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if ($total != 0){&lt;br /&gt;
//prints the total result count just below the paging&lt;br /&gt;
echo &#39;(total &#39;.$pages.&#39; results)&amp;lt;/div&amp;gt;&#39;; &lt;br /&gt;
}&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/1688321871235302878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/08/dynamic-pagination-by-selecting-page-no.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/1688321871235302878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/1688321871235302878'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/08/dynamic-pagination-by-selecting-page-no.html' title='Dynamic Pagination by Selecting Page No'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-122193436397442666</id><published>2010-05-28T02:46:00.000-07:00</published><updated>2010-05-28T02:46:05.206-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="browser"/><category scheme="http://www.blogger.com/atom/ns#" term="firebug"/><title type='text'>Integrate Firebug Lite with all browser</title><content type='html'>Integrate Firebug lite with all available browser like Crome,Safari,IE&lt;br /&gt;
&lt;br /&gt;
firebug is most advance tool for correct or check web page design like css,html tags.&lt;br /&gt;
&lt;br /&gt;
It hard to install firebug to all browser. only mozilla firefox support the installation of firebug.&lt;br /&gt;
&lt;br /&gt;
For using firebug in browser just copy below code and past it to before &amp;amp;lt/body &amp;amp;gt tag. So firebug lite link will appear on click firebug will work for that page on which that code present.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&quot;javascript:(function(F,i,r,e,b,u,g,L,I,T,E){if(F.getElementById(b))return;E=F.documentElement.namespaceURI;E=E?F[i+&#39;NS&#39;](E,&#39;script&#39;):F[i](&#39;script&#39;);E=F[i](&#39;script&#39;);E[r](&#39;id&#39;,b);E[r](&#39;src&#39;,I+g+T);E[r](b,u);(F[e](&#39;head&#39;)[0]||F[e](&#39;body&#39;)[0]).appendChild(E);E=new%20Image;E[r](&#39;src&#39;,I+L);})(document,&#39;createElement&#39;,&#39;setAttribute&#39;,&#39;getElementsByTagName&#39;,&#39;FirebugLite&#39;,&#39;1.3.0.3&#39;,&#39;firebug-lite.js&#39;,&#39;releases/lite/latest/skin/xp/sprite.png&#39;,&#39;https://getfirebug.com/&#39;,&#39;#startOpened&#39;);&quot;&amp;gt;Firebug Lite&amp;lt;/a&amp;gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/122193436397442666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/05/integrate-firebug-lite-with-all-browser.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/122193436397442666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/122193436397442666'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/05/integrate-firebug-lite-with-all-browser.html' title='Integrate Firebug Lite with all browser'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-6235206408063493639</id><published>2010-05-05T05:17:00.000-07:00</published><updated>2011-09-25T07:33:11.193-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="email"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="tracking"/><title type='text'>Php Script for Check Email open</title><content type='html'>&lt;b&gt;How to check that send email is open by receiver or not&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
If we send email use Php mail() function and want that you get information when receiver open that mail or want to keep record of open mail send in mass sending of mail using Php mail() function. To do that we use following code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$to=&quot;&quot;; //email receiver id&lt;br /&gt;
$subj=&quot;&quot;; // subject of mail&lt;br /&gt;
$msg=&quot;&quot;; // message that send to receiver&lt;br /&gt;
$senderheaders &amp;nbsp;= &quot;From: news@example.com\r\n&quot;;&lt;br /&gt;
$senderheaders .= &quot;Content-type: text/html\r\n&quot;;&lt;br /&gt;
$senderheaders.=&quot;&amp;lt;img src=\&quot;http://www.example.com/trackemail.php?receiverId=$id\&quot; width=\&quot;1\&quot; height=\&quot;1\&quot; /&amp;gt;&quot;;&lt;br /&gt;
&lt;br /&gt;
mail($to,$subj,$msg,$senderheaders);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In above code we send image of 1*1px with the header of the mail. when receiver open that mail that will send back to tracking file of sender site and tell them that email is check by receiver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/6235206408063493639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/05/php-script-for-check-email-open.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/6235206408063493639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/6235206408063493639'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/05/php-script-for-check-email-open.html' title='Php Script for Check Email open'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-1563536948178444106</id><published>2010-05-03T22:56:00.000-07:00</published><updated>2013-07-01T08:15:03.360-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ccavenue"/><category scheme="http://www.blogger.com/atom/ns#" term="payment gateway"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>Integration of CCAVENUE Payment gateway</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Integration of CCAVENUE Payment Cart in Your Shopping Section&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
CCavenue is most popular Payment gateway for online Shopping. It provide payment through using International credit card as well using your Bank (who have bond with CCavenue) online Account or using it&#39;s debit card(ATM card). It is one of the most secure place for given your money to online shop.&lt;br /&gt;
&lt;br /&gt;
For Integrate it with your website you should have ccavenue account and they give you a merchant id and a unique key for your site that is most important for money&amp;nbsp;transaction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Php Function&#39;s Require TO Validate Require Value for CCAvenue Payment.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function getchecksum($MerchantId,$Amount,$OrderId ,$URL,$WorkingKey)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$str =&quot;$MerchantId|$OrderId|$Amount|$URL|$WorkingKey&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$adler = 1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$adler = adler32($adler,$str);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;return $adler;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function verifychecksum($MerchantId,$OrderId,$Amount,$AuthDesc,$CheckSum,$WorkingKey)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$str = &quot;$MerchantId|$OrderId|$Amount|$AuthDesc|$WorkingKey&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$adler = 1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$adler = adler32($adler,$str);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if($adler == $CheckSum)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;return &quot;true&quot; ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;return &quot;false&quot; ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function adler32($adler , $str)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$BASE = &amp;nbsp;65521 ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$s1 = $adler &amp;amp; 0xffff ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$s2 = ($adler &amp;gt;&amp;gt; 16) &amp;amp; 0xffff;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;for($i = 0 ; $i &amp;lt; strlen($str) ; $i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$s1 = ($s1 + Ord($str[$i])) % $BASE ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$s2 = ($s2 + $s1) % $BASE ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;//echo &quot;s1 : $s1 &amp;lt;BR&amp;gt; s2 : $s2 &amp;lt;BR&amp;gt;&quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;return leftshift($s2 , 16) + $s1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function leftshift($str , $num)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$str = DecBin($str);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for( $i = 0 ; $i &amp;lt; (64 - strlen($str)) ; $i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$str = &quot;0&quot;.$str ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for($i = 0 ; $i &amp;lt; $num ; $i++) &lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$str = $str.&quot;0&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$str = substr($str , 1 ) ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;//echo &quot;str : $str &amp;lt;BR&amp;gt;&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;return cdec($str) ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function cdec($num)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for ($n = 0 ; $n &amp;lt; strlen($num) ; $n++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$temp = $num[$n] ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$dec = &amp;nbsp;$dec + $temp*pow(2 , strlen($num) - $n - 1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return $dec;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://gobol.in/tv-video-and-audio.html?dir=desc&amp;amp;order=price&amp;amp;out_of_stock=true&amp;amp;acc=cfcd208495d565ef66e7dff9f98764da&amp;amp;bannerid=6&quot; target=&quot;_blank&quot;&gt;&lt;img height=&quot;90&quot; src=&quot;http://gobol.in/js/magestore/affiliateplus/banner.php?id=6&amp;amp;account_id=33&amp;amp;store_id=1&quot; title=&quot;TV&quot; width=&quot;728&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: #cbcb98; border: #CC9900 solid 1px;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;CCAvenue Passing Parameter That Require for Complete the Shopping&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$Merchant_Id = &quot;&quot;;//This id(also User Id) &amp;nbsp;available at &quot;Generate Working Key&quot; of &quot;Settings &amp;amp; Options&quot; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$Amount = $orderdata[5];//your script should substitute the amount in the quotes provided here&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$Order_Id = $orderdata[0];;//your script should substitute the order description in the quotes provided here&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$WorkingKey = &quot;&quot;;//Given to merchant by ccavenue &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$Redirect_Url =&quot;http://www.example.com/shopping.php&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$Checksum = getCheckSum($Merchant_Id,$Amount,$Order_Id ,$Redirect_Url,$WorkingKey); // Validate All value &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;?&amp;gt;&lt;br /&gt;
&amp;lt;p align=&quot;center&quot; style=&quot;font-family:Calibri; font-size:18px;&quot;&amp;gt;&amp;lt;img src=&quot;http://www.example.com/images/loader.gif&quot; alt=&quot;loader&quot;&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p align=&quot;center&quot; style=&quot;font-family:Calibri; font-size:24px;color:#3670A7;&quot;&amp;gt;Processing to CCAvenue..............&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;form id=&quot;form2&quot; method=&quot;post&quot; action=&quot;https://www.ccavenue.com/shopzone/cc_details.jsp&quot;&amp;gt;&lt;br /&gt;
&amp;lt;input type=hidden name=Merchant_Id value=&quot;&amp;lt;?php echo $Merchant_Id; ?&amp;gt;&quot;&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;Amount&quot; value=&quot;&amp;lt;?php echo $Amount; ?&amp;gt;&quot;&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;Order_Id&quot; value=&quot;&amp;lt;?php echo $Order_Id; ?&amp;gt;&quot;&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;Redirect_Url&quot; value=&quot;&amp;lt;?php echo $Redirect_Url; ?&amp;gt;&quot;&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;Checksum&quot; value=&quot;&amp;lt;?php echo $Checksum; ?&amp;gt;&quot;&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;billing_cust_name&quot; value=&quot;&amp;lt;?= $orderdata[7].&#39; &#39;.$orderdata[8];?&amp;gt;&quot;&amp;gt; &amp;lt;!--Pass Customer Full Name --&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;billing_cust_address&quot; value=&quot;&amp;lt;?= $orderdata[9].&#39; &#39;.$orderdata[10];?&amp;gt;&quot;&amp;gt;&amp;lt;!--Pass Customer Full Address--&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;billing_cust_country&quot; value=&quot;&amp;lt;?= $orderdata[15];?&amp;gt;&quot;&amp;gt; &amp;lt;!--Pass Customer Country --&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;billing_cust_state&quot; value=&quot;&amp;lt;?= $orderdata[14];?&amp;gt;&quot;&amp;gt;&amp;lt;!--Pass Customer State --&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;billing_cust_city&quot; value=&quot;&amp;lt;?= $orderdata[13];?&amp;gt;&quot;&amp;gt; &amp;lt;!--Pass Customer City --&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;billing_zip&quot; value=&quot;&amp;lt;?= $orderdata[16];?&amp;gt;&quot;&amp;gt; &amp;lt;!--Pass Customer Zip Code--&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;billing_cust_tel&quot; value=&quot;&amp;lt;?= $orderdata[11];?&amp;gt;&quot;&amp;gt; &amp;lt;!--Pass Customer Phone No--&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;billing_cust_email&quot; value=&quot;&amp;lt;?= $orderdata[12];?&amp;gt;&quot;&amp;gt; &amp;lt;!--Pass Customer Email address--&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;delivery_cust_name&quot; value=&quot;&amp;lt;?= $orderdata[7].&#39; &#39;.$orderdata[8];?&amp;gt;&quot;&amp;gt; &amp;lt;!--Pass Same or other other detail fill by customer--&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;delivery_cust_address&quot; value=&quot;&amp;lt;?= $orderdata[9].&#39; &#39;.$orderdata[10];?&amp;gt;&quot;&amp;gt; &lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;delivery_cust_country&quot; value=&quot;&amp;lt;?= $orderdata[15];?&amp;gt;&quot;&amp;gt; &lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;delivery_cust_state&quot; value=&quot;&amp;lt;?= $orderdata[14];?&amp;gt;&quot;&amp;gt; &lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;delivery_cust_tel&quot; value=&quot;&amp;lt;?= $orderdata[11];?&amp;gt;&quot;&amp;gt; &lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;delivery_cust_notes&quot; value=&quot;&quot;&amp;gt; &lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;Merchant_Param&quot; value=&quot;&quot;&amp;gt; &lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;billing_zip_code&quot; value=&quot;&amp;lt;?= $orderdata[16];?&amp;gt;&quot;&amp;gt; &lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;delivery_cust_city&quot; value=&quot;&amp;lt;?= $orderdata[13];?&amp;gt;&quot;&amp;gt; &lt;br /&gt;
&amp;lt;input type=&quot;hidden&quot; name=&quot;delivery_zip_code&quot; value=&quot;&amp;lt;?= $orderdata[16];?&amp;gt;&quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/1563536948178444106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/05/integration-of-ccavenue-payment-gateway.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/1563536948178444106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/1563536948178444106'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/05/integration-of-ccavenue-payment-gateway.html' title='Integration of CCAVENUE Payment gateway'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-2191561591826458752</id><published>2010-04-30T22:53:00.000-07:00</published><updated>2011-09-25T07:29:13.803-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="payment"/><category scheme="http://www.blogger.com/atom/ns#" term="paypal"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="standard"/><title type='text'>Paypal Webstie Standard Payment Method</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong&gt;Paypal Webstie Standard Payment Method for website&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;br /&gt;
When we use Paypal website standard payment method for shopping cart with multiple buy item. On this method customer complete it&#39;s shopping on website and the time of payment he completely move to paypal website with complete detail of his buy item name, item qty , item amount and with Total Amount. On paypal site all detail will display as display on his shopping cart. here all necessary field that is will on site like first name, address,etc. will automatically filled and here customer need to just fill their credit card and it’s related field’s to complete the process. &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;br /&gt;
When customer complete the payment process then one url of success payment is also send form the site to paypal (in return input type) site will appear in form button on click on that button customer will reach to success page of website. &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;br /&gt;
There is on link of fail on cancel for not to complete the process. &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: #e1c4c4; border: #993300 solid 1px; display: block; float: left; height: auto; width: 650px;&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: #cb9898; border: #993300 solid 1px; display: block; float: left; height: 40px; padding-left: 20px; width: 630px;&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;strong&gt;Paypal Require Code:-&lt;/strong&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&amp;lt;form id=&quot;form1&quot; action=&quot;https://www.paypal.com/cgi-bin/webscr&quot; method=&quot;post&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;business&quot; value=&quot;{$merchantId}&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&amp;lt;!--merchant paypal id in which payment will go--&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;cmd&quot; value=&quot;_cart&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;paymentaction&quot; value=&quot;sale&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;?php&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;// $itemresult result set of customer buy item fetch form order_item table and table where final order item is store&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;$i=1;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;while($row = mysql_fetch_array($itemresult))&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;$amountinrupee = $row[1];&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;$amount = round(intval($amountinrupee)/46.180,2);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;?&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;item_name_&amp;lt;?= $i;?&amp;gt;&quot; value=&quot;&amp;lt;?= $row[0];?&amp;gt;&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;amount_&amp;lt;?= $i;?&amp;gt;&quot; value=&quot;&amp;lt;?= $amount;?&amp;gt;&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;quantity_&amp;lt;?= $i;?&amp;gt;&quot; value=&quot;&amp;lt;?= $row[2];?&amp;gt;&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;?php &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;$i++;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;?&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;first_name&quot; value=&quot;&amp;lt;?= $orderdata[7];?&amp;gt;&quot; /&amp;gt;&amp;lt;!--customer first name --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;last_name&quot; value=&quot;&amp;lt;?= $orderdata[8];?&amp;gt;&quot; /&amp;gt;&amp;lt;!--customer last name --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;address1&quot; value=&quot;&amp;lt;?= $orderdata[9];?&amp;gt;&quot; /&amp;gt;&amp;lt;!--customer address 1 name --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;address2&quot; value=&quot;&amp;lt;?= $orderdata[10];?&amp;gt;&quot; /&amp;gt;&amp;lt;!--customer add2 name --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;email&quot; value=&quot;&amp;lt;?= $orderdata[12];?&amp;gt;&quot; /&amp;gt;&amp;lt;!--customer email name --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;city&quot; value=&quot;&amp;lt;?= $orderdata[13];?&amp;gt;&quot; /&amp;gt;&amp;lt;!--customer city name --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;state&quot; value=&quot;&amp;lt;?= $orderdata[14];?&amp;gt;&quot; /&amp;gt;&amp;lt;!--customer state name --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;country&quot; value=&quot;&amp;lt;?= $orderdata[15];?&amp;gt;&quot; /&amp;gt;&amp;lt;!--customer country name --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;zip&quot; value=&quot;&amp;lt;?= $orderdata[16];?&amp;gt;&quot; /&amp;gt;&amp;lt;!--customer zip name --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;currency_code&quot; value=&quot;USD&quot; /&amp;gt;&amp;lt;!--currrecy in which payment u need--&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;upload&quot; value=&quot;1&quot; /&amp;gt;&amp;lt;!--paypal parameter--&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;return&quot; value=&quot;http://www.example.com/shopcomplete.php&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; name=&quot;cancel_return&quot; value=&quot;http://www.example.com/shopfail.php&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/form&amp;gt; &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/2191561591826458752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/04/paypal-webstie-standard-payment-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/2191561591826458752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/2191561591826458752'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/04/paypal-webstie-standard-payment-method.html' title='Paypal Webstie Standard Payment Method'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-3753886203606409111</id><published>2010-04-29T23:03:00.000-07:00</published><updated>2013-07-01T08:13:57.413-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="login"/><category scheme="http://www.blogger.com/atom/ns#" term="phpbb3"/><category scheme="http://www.blogger.com/atom/ns#" term="Session"/><title type='text'>Integrate Phpbb3 forum login(session) with website</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;MsoNormal&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Integrate Phpbb3 forum login(session) with website &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
When we use third part tool phpbb3 with your website as site forum there is necessary &amp;nbsp;to set phpbb3 login session when any user login to website so user can also use forum without re-login to phpbb3 forum because there is many session variable that is require for login to forum and work on it.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Example:-&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Website name:-www.example.com&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Website forum:- &lt;a href=&quot;http://www.example.com/forum/&quot;&gt;www.example.com/forum/&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Website login page:-www.example.com/login.php&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
There is 3 way to reach to site forum first open/land to index.php page and reach to it’s viewforum.php page and reach to it’s viewtopic.php page&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Website forum page use by user:-&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
www.example.com/forum/index.php, &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;http://www.example.com/forum/viewforum.php&quot;&gt;www.example.com/forum/viewforum.php&lt;/a&gt;,&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&lt;a href=&quot;http://www.example.com/forum/viewtopic.php&quot;&gt;www.example.com/forum/viewtopic.php&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://gobol.in/mobile-and-acessories.html?cat=194&amp;amp;price=1%2C10000&amp;amp;acc=cfcd208495d565ef66e7dff9f98764da&amp;amp;bannerid=5&quot; target=&quot;_blank&quot;&gt;&lt;img height=&quot;250&quot; src=&quot;http://gobol.in/js/magestore/affiliateplus/banner.php?id=5&amp;amp;account_id=33&amp;amp;store_id=1&quot; title=&quot;Mobiles&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
First we need that user that is register with site also have entry in phpbb3 forum users table and user_group with same user id that is given on site registration time.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
When we move site to forum any above forum page than we need to pass that user id as parameter and get that parameter then fetch record from site user table and set all necessary session parameter for keep login on form.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: #c1ffff; border: #66CCFF solid 1px; float: left; height: auto; width: 600px;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;border: #66CCCC solid 1px; float: left; height: 20px; padding-top: 5px; width: 600px;&quot;&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;strong&gt;&amp;nbsp;Forum login session set code:-&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;float: left; height: auto; width: 500px;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;pre&gt;&lt;div class=&quot;MsoNormal&quot;&gt;
//get site user Id&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
$var_id=$_GET[&#39;id&#39;];&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
//start forum user session&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
$user-&amp;gt;session_begin();&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
//check user id exist or login&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
if($var_id!=&#39;&#39;)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
$str=&quot;select * from site_members where member_id=$var_id&quot;;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
$qstr=mysql_query($str,$dbc) or die(&#39;error in members&#39;.mysql_error());&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
$fstr=mysql_fetch_array($qstr);&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; $user-&amp;gt;data[user_ip] = $_SERVER[&#39;REMOTE_ADDR&#39;];&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_regdate] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[username] = $fstr[&#39;first_name&#39;];&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[username_clean] = $fstr[&#39;first_name&#39;];&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_password] = md5($fstr[&#39;password&#39;]);&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_passchg] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_pass_convert] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_email] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_email_hash] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_birthday] = &amp;nbsp;0- 0- &amp;nbsp; 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_lastvisit] = 1238142551;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_lastmark] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_lastpost_time] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_lastpage] = index.php;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_last_confirm_key] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_last_search] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_warnings] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_last_warning] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_login_attempts] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_inactive_reason] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_inactive_time] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_posts] = 1;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_lang] = en;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_timezone] = 0.00;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_dst] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_dateformat] = &#39;d M Y H:i&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_style] = 1;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_rank] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_colour] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_new_privmsg] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_unread_privmsg] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_last_privmsg] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_message_rules] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_full_folder] = -3;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_emailtime] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_topic_show_days] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_topic_sortby_type] = t;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_topic_sortby_dir] = d;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_post_show_days] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_post_sortby_type] = t;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_post_sortby_dir] = a;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_notify] = 1;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_notify_pm] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_notify_type] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_allow_pm] = 1;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_allow_viewonline] = 1;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_allow_viewemail] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_allow_massemail] = 1;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_options] = 831;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_avatar] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_avatar_type] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_avatar_width] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_avatar_height] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_sig] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_sig_bbcode_uid] = &#39;3m872xlu&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_sig_bbcode_bitfield] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_from] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_icq] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_aim] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_yim] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_msnm] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_jabber] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_website] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_occ] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_interests] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_actkey] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_newpasswd] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[user_form_salt] = &#39;168ff8093150140f&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_id] = session_id();&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_user_id] = $fstr[&quot;member_id&quot;];;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_forum_id] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_last_visit] = &#39;1238142551&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_start] = time();&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_time] = time();&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_ip] = $_SERVER[&#39;REMOTE_ADDR&#39;];&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_browser] = $_SERVER[&#39;HTTP_USER_AGENT&#39;];&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_forwarded_for] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_page] = &#39;index.php&#39;; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_viewonline] = 1;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_autologin] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[session_admin] = 0;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[is_registered] = 1;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$user-&amp;gt;data[is_bot] = &#39;&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$autologin=&#39;true&#39;;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$result = $auth-&amp;gt;login($fstr[&#39;username&#39;], $fstr[&#39;password&#39;], $autologin);&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$result[&#39;error_msg&#39;]=LOGIN_SUCCESS;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
}&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;Note-&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
1. &amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&amp;nbsp;$user-&amp;gt;data[session_page] = &#39;index.php&#39;; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
index.php is the value according to page on which it is use like for viewforum.php it will be viewforum.php and for viewtopic.php it will be viewtopic.php&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;2.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background: white; border: solid #C9D2D8 1.0pt; margin-left: .5in; margin-right: 0in; mso-border-alt: solid #C9D2D8 .75pt; mso-element: para-border-div; padding: 2.0pt 2.0pt 2.0pt 2.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; line-height: 15.6pt; margin-bottom: 0.0001pt; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; text-align: left;&quot;&gt;
&lt;span style=&quot;color: seagreen; font-family: &#39;Courier New&#39;; font-size: 9pt;&quot;&gt;$auth-&amp;gt;login($username, $password, $remember, 1, 0)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;$username would be the exact username that would be found in the phpBB user table.&lt;br /&gt;
&lt;br /&gt;
$password would be the string to match by (pre-hash, this should be just the original text, the $auth-&amp;gt;login() function takes care of converting it into a comparable hash)&lt;br /&gt;
&lt;br /&gt;
$remember is a boolean value, false if no remember me choice, true if user is going to have a &#39;remembered&#39; session&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/3753886203606409111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/04/integrate-phpbb3-forum-loginsession.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/3753886203606409111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/3753886203606409111'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/04/integrate-phpbb3-forum-loginsession.html' title='Integrate Phpbb3 forum login(session) with website'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-723935006092823029</id><published>2010-03-29T06:51:00.000-07:00</published><updated>2011-09-25T07:34:53.711-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Case"/><category scheme="http://www.blogger.com/atom/ns#" term="control function"/><category scheme="http://www.blogger.com/atom/ns#" term="if"/><category scheme="http://www.blogger.com/atom/ns#" term="ifnull"/><category scheme="http://www.blogger.com/atom/ns#" term="Mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="nullif"/><title type='text'>Control Flow Functions in Mysql</title><content type='html'>In this post i describe about how to use conditional operation in sql command for&amp;nbsp;retrieving a record form table.&lt;br /&gt;
using these function record display according to it&#39;s condition.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;these operator are following:-&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Case&lt;/li&gt;
&lt;li&gt;If&lt;/li&gt;
&lt;li&gt;IfNull&lt;/li&gt;
&lt;li&gt;Nullif&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;b&gt;Case function:-&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;b&gt;syntax:-&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #93c47d;&quot;&gt;condition&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cfe2f3;&quot;&gt; &lt;/span&gt;when &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;value_to_compare1&lt;/span&gt; then &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;result1&lt;/span&gt; when &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #f4cccc;&quot;&gt;value_to_compare2&lt;/span&gt; then &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;result2&lt;/span&gt; else &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;result3&lt;/span&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;end;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
In above syntax &amp;nbsp;when condition value is equal to value_to_compare1 then result1 will output other check value_to_compare2 then result2 will output if both&amp;nbsp;comparison fail then result3 execute.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;example:-&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;CASE var&amp;nbsp;WHEN NULL THEN SELECT &#39;Hi&#39;;&amp;nbsp;ELSE SELECT &#39;friend.&#39;;&amp;nbsp;END CASE;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b&gt;If:-&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b&gt;Syntax:-&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; select if(condition,true,false) from table ;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;In above syntax if condition is true then true comes in result other wise false.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b&gt;example:-&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;select if(id=vlaue,emp_name,emp_dept) from emp where id=value;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 14px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 25px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-width: 720px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;code class=&quot;literal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #026789; font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: 13px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline; vertical-align: baseline;&quot;&gt;&lt;br /&gt;
&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 25px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-width: 720px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;code class=&quot;literal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: 13px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #999999;&quot;&gt;IFNULL&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 25px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-width: 720px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #999999; font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #666666;&quot;&gt;syntax:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 25px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-width: 720px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #999999; font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #666666;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ifnull(value1,value2)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 25px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-width: 720px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #999999; font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #666666;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 25px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-width: 720px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;i&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;f&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;em class=&quot;replaceable&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-style: italic; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: 13px; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; padding-top: 1px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;value1&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&amp;nbsp;is not&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;literal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: 13px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;NULL&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://dev.mysql.com/doc/refman/5.5/en/control-flow-functions.html#function_ifnull&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline; vertical-align: baseline;&quot;&gt;&lt;code class=&quot;literal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: 13px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;IFNULL()&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&amp;nbsp;returns&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;em class=&quot;replaceable&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-style: italic; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: 13px; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; padding-top: 1px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;value1&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;; otherwise it returns&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;em class=&quot;replaceable&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; font-style: italic; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: 13px; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; padding-top: 1px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;value2&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 25px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-width: 720px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://dev.mysql.com/doc/refman/5.5/en/control-flow-functions.html#function_ifnull&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline; vertical-align: baseline;&quot;&gt;&lt;code class=&quot;literal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: 13px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;IFNULL()&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&amp;nbsp;returns a numeric or string&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 25px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-width: 720px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;b&gt;example:-&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: 13px; line-height: 20px; white-space: pre;&quot;&gt;&lt;strong class=&quot;userinput&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 13px; font-style: normal; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: courier, &#39;courier new&#39;, fixed, monospace; font-size: 12px; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; padding-top: 1px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;SELECT IFNULL(1,0);&lt;/span&gt;&lt;/code&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; display: block; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 25px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-width: 720px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;b&gt;Nullif:-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;b&gt;syntax:- nullif(value1,value2);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b&gt;if value1=value2 then return null other vise value1&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/723935006092823029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/03/control-flow-functions-in-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/723935006092823029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/723935006092823029'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/03/control-flow-functions-in-mysql.html' title='Control Flow Functions in Mysql'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-2572234074835545784</id><published>2010-03-13T05:15:00.000-08:00</published><updated>2010-03-13T05:15:36.768-08:00</updated><title type='text'>Server environment information in php</title><content type='html'>&lt;b&gt;$_SERVER is an array containing information such as headers, paths, and script locations. The entries in&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;b&gt;this array are created by the web server. There is no guarantee that every web server will provide any of&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;b&gt;these; servers may omit some, or provide others not listed here.&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #274e13;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;$_SERVER[] Element:-&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;PHP_SELF&#39;]&lt;/span&gt; :-&amp;nbsp;The filename of the currently executing script, relative to the document root.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;argv&#39;]&lt;/span&gt;:-Array of arguments passed to the script. When the script is run on the command line, this&amp;nbsp;gives C-style access to the command line parameters&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;argc&#39;]&lt;/span&gt;:-Contains the number of command line parameters passed to the script (if run on the&amp;nbsp;command line).&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;GATEWAY_INTERFACE&#39;]&lt;/span&gt;:-What revision of the CGI specification the server is using.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;SERVER_ADDR&#39;]&lt;/span&gt;:-The IP address of the server under which the current script is executing.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;SERVER_NAME&#39;]&lt;/span&gt;:-The name of the server host under which the current script is executing. If the script is&amp;nbsp;running on a virtual host, this will be the value defined for that virtual host.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;SERVER_SOFTWARE&#39;]&lt;/span&gt;:-&amp;nbsp;Server identification string, given in the headers when responding to requests.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;SERVER_PROTOCOL&#39;]&lt;/span&gt;:-Name and revision of the information protocol via which the page was requested&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;REQUEST_METHOD&#39;]&lt;/span&gt;:-Which request method was used to access the page&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;REQUEST_TIME&#39;]&lt;/span&gt;:-The timestamp of the start of the request&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;QUERY_STRING&#39;]&lt;/span&gt;:-The query string, if any, via which the page was accessed&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;DOCUMENT_ROOT&#39;]&lt;/span&gt;:-The document root directory under which the current script is executing, as defined in the&amp;nbsp;server&#39;s configuration file&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;HTTP_ACCEPT&#39;]&lt;/span&gt;:-Contents of the Accept: header from the current request, if there is one.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;HTTP_ACCEPT_CHARSET&#39;]&lt;/span&gt;:-Contents of the Accept-Charset: header from the current request, if there is one.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;HTTP_ACCEPT_ENCODING&#39;]&lt;/span&gt;:-Contents of the Accept-Encoding: header from the current request, if there is one.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;HTTP_ACCEPT_LANGUAGE&#39;]&lt;/span&gt;:-Contents of the Accept-Language: header from the current request, if there is one.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;HTTP_CONNECTION&#39;]&lt;/span&gt;:-Contents of the Connection: header from the current request, if there is one.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;HTTP_HOST&#39;]&lt;/span&gt;:-Contents of the Host: header from the current request, if there is one.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;HTTP_REFERER&#39;]&lt;/span&gt;:-The address of the page (if any) which referred the user agent to the current page. This is set&amp;nbsp;by the user agent.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;HTTP_USER_AGENT&#39;]&lt;/span&gt;:-Contents of the User-Agent: header from the current request, if there is one. This is a string&amp;nbsp;denoting the user agent being which is accessing the page.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;HTTPS&#39;]&lt;/span&gt;:-Set to a non-empty value if the script was queried through the HTTPS protocol.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;REMOTE_ADDR&#39;]&lt;/span&gt;:-The IP address from which the user is viewing the current page.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;REMOTE_HOST&#39;]&lt;/span&gt;:-The Host name from which the user is viewing the current page. The reverse dns lookup is&amp;nbsp;based off the REMOTE_ADDR of the user.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;REMOTE_PORT&#39;]&lt;/span&gt;:-The port being used on the user&#39;s machine to communicate with the web server.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;SCRIPT_FILENAME&#39;]&lt;/span&gt;:-The absolute pathname of the currently executing script.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;SERVER_ADMIN&#39;]&lt;/span&gt;:-The value given to the SERVER_ADMIN (for Apache) directive in the web server configuration&amp;nbsp;file.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;SERVER_PORT&#39;]&lt;/span&gt;:-The port on the server machine being used by the web server for communication.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;SERVER_SIGNATURE&#39;]&lt;/span&gt;:-String containing the server version and virtual host name which are added to servergenerated&amp;nbsp;pages, if enabled.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;PATH_TRANSLATED&#39;]&lt;/span&gt;:-&amp;nbsp;Filesystem- (not document root-) based path to the current script, after the server has done&amp;nbsp;any virtual-to-real mapping.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;SCRIPT_NAME&#39;]&lt;/span&gt;:-Contains the current script&#39;s path. This is useful for pages which need to point to themselves.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;REQUEST_URI&#39;]&lt;/span&gt;:-The URI which was given in order to access this page;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;PHP_AUTH_DIGEST&#39;]&lt;/span&gt;:-&amp;nbsp;When running under Apache as module doing Digest HTTP authentication this variable is set to&amp;nbsp;the &#39;Authorization&#39; header sent by the client (which you should then use to make the&amp;nbsp;appropriate validation).&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;PHP_AUTH_USER&#39;]&lt;/span&gt;:-When running under Apache or IIS (ISAPI on PHP 5) as module doing HTTP authentication this&amp;nbsp;variable is set to the username provided by the user.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;PHP_AUTH_PW&#39;]&lt;/span&gt;:-When running under Apache or IIS (ISAPI on PHP 5) as module doing HTTP authentication this&amp;nbsp;variable is set to the password provided by the user.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;AUTH_TYPE&#39;]&lt;/span&gt;:-When running under Apache as module doing HTTP authenticated this variable is set to the&amp;nbsp;authentication type.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;PATH_INFO&#39;]&lt;/span&gt;:-&amp;nbsp;Contains any client-provided pathname information trailing the actual script filename but&amp;nbsp;preceding the query string, if available.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;$_SERVER[&#39;ORIG_PATH_INFO&#39;]&lt;/span&gt;:-Original version of &#39;PATH_INFO&#39; before processed by PHP.&lt;/li&gt;
&lt;/ol&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;b&gt;Url&lt;/b&gt;&lt;/span&gt;:-&lt;b&gt;http://localhost/testing/serverfunction.php?arg=value&amp;amp;arg1=value2&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;Output :-&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;&quot;&gt;&lt;table border=&quot;1&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;/testing/serverfunction.php&lt;/td&gt;&lt;td&gt;Php Self&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Array&lt;/td&gt;&lt;td&gt;argv&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;argc&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;CGI/1.1&lt;/td&gt;&lt;td&gt;GATEWAY_INTERFACE&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;127.0.0.1&lt;/td&gt;&lt;td&gt;SERVER_ADDR&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;localhost&lt;/td&gt;&lt;td&gt;SERVER_NAME&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9&lt;/td&gt;&lt;td&gt;SERVER_SOFTWARE&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HTTP/1.1&lt;/td&gt;&lt;td&gt;SERVER_PROTOCOL&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GET&lt;/td&gt;&lt;td&gt;REQUEST_METHOD&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;1268480923&lt;/td&gt;&lt;td&gt;REQUEST_TIME&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;arg=value&amp;amp;arg1=value2&lt;/td&gt;&lt;td&gt;QUERY_STRING&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;C:/xampp/htdocs&lt;/td&gt;&lt;td&gt;DOCUMENT_ROOT&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5&lt;/td&gt;&lt;td&gt;HTTP_ACCEPT&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;UTF-8,*;q=0.5&lt;/td&gt;&lt;td&gt;HTTP_ACCEPT_CHARSET&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;gzip,deflate,sdch&lt;/td&gt;&lt;td&gt;HTTP_ACCEPT_ENCODING&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;en-US,en;q=0.8&lt;/td&gt;&lt;td&gt;HTTP_ACCEPT_LANGUAGE&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;keep-alive&lt;/td&gt;&lt;td&gt;HTTP_CONNECTION&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;localhost&lt;/td&gt;&lt;td&gt;HTTP_HOST&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;HTTP_REFERER&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.89 Safari/532.5&lt;/td&gt;&lt;td&gt;HTTP_USER_AGENT&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;HTTPS&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;127.0.0.1&lt;/td&gt;&lt;td&gt;REMOTE_ADDR&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;REMOTE_HOST&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;3145&lt;/td&gt;&lt;td&gt;REMOTE_PORT&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;C:/xampp/htdocs/testing/serverfunction.php&lt;/td&gt;&lt;td&gt;SCRIPT_FILENAME&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;admin@localhost&lt;/td&gt;&lt;td&gt;SERVER_ADMIN&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;80&lt;/td&gt;&lt;td&gt;SERVER_PORT&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;address&gt;Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9 Server at localhost Port 80&lt;/address&gt;&lt;/td&gt;&lt;td&gt;SERVER_SIGNATURE&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;PATH_TRANSLATED&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;/testing/serverfunction.php&lt;/td&gt;&lt;td&gt;SCRIPT_NAME&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;/testing/serverfunction.php?arg=value&amp;amp;arg1=value2&lt;/td&gt;&lt;td&gt;REQUEST_URI&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;PHP_AUTH_DIGEST&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;PHP_AUTH_USER&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;PHP_AUTH_PW&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;AUTH_TYPE&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/2572234074835545784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/03/server-environment-information-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/2572234074835545784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/2572234074835545784'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/03/server-environment-information-in-php.html' title='Server environment information in php'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-4303600924138046792</id><published>2010-03-11T00:42:00.000-08:00</published><updated>2010-03-11T00:42:57.738-08:00</updated><title type='text'>Check Various Credit Card Validation In JS</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;b&gt;This is code for check that enter card number with respect to card is valid or u enter wrong card number. Because every card or bank have different digit in his card and it&#39;s number.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
function checkCreditCard (cardnumber, cardname) {&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// Array to hold the permitted card characteristics&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var cards = new Array();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
// Define the cards we support. You may add addtional card types.&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// &amp;nbsp;Name: &amp;nbsp; &amp;nbsp; &amp;nbsp;As in the selection box of the form - must be same as user&#39;s&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// &amp;nbsp;Length: &amp;nbsp; &amp;nbsp;List of possible valid lengths of the card number for the card&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// &amp;nbsp;prefixes: &amp;nbsp;List of possible prefixes for the card&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// &amp;nbsp;checkdigit Boolean to say whether there is a check digit&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [0] = {name: &quot;Visa&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;13,16&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;4&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [1] = {name: &quot;MasterCard&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;16&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;51,52,53,54,55&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [2] = {name: &quot;DinersClub&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;14,16&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;305, 36, 38, 54,55&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [3] = {name: &quot;CarteBlanche&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;14&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;300,301,302,303,304,305&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [4] = {name: &quot;AmEx&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;15&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;34,37&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [5] = {name: &quot;Discover&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;16&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;6011,622,64,65&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [6] = {name: &quot;JCB&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;16&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;35&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [7] = {name: &quot;enRoute&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;15&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;2014,2149&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [8] = {name: &quot;Solo&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;16,18,19&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;6334, 6767&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [9] = {name: &quot;Switch&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;16,18,19&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;4903,4905,4911,4936,564182,633110,6333,6759&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [10] = {name: &quot;Maestro&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;12,13,14,15,16,18,19&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;5018,5020,5038,6304,6759,6761&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [11] = {name: &quot;VisaElectron&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;16&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;417500,4917,4913,4508,4844&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cards [12] = {name: &quot;LaserCard&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;length: &quot;16,17,18,19&quot;, &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefixes: &quot;6304,6706,6771,6709&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checkdigit: true};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// Establish card type&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var cardType = -1;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;for (var i=0; i&amp;lt;cards.length; i++) {&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
// See if it is this card (ignoring the case of the string)&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (cardname.toLowerCase () == cards[i].name.toLowerCase()) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cardType = i;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;break;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// If card type not found, report an error&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (cardType == -1) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;ccErrorNo = 0;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;return false; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// Ensure that the user has provided a credit card number&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (cardnumber.length == 0) &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;ccErrorNo = 1;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;return false; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// Now remove any spaces from the credit card number&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cardnumber = cardnumber.replace (/\s/g, &quot;&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// Check that the number is numeric&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var cardNo = cardnumber&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var cardexp = /^[0-9]{13,19}$/;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (!cardexp.exec(cardNo)) &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;ccErrorNo = 2;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;return false; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// Now check the modulus 10 check digit - if required&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (cards[cardType].checkdigit) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var checksum = 0; &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; &amp;nbsp;// running checksum total&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var mychar = &quot;&quot;; &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; &amp;nbsp; // next char to process&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var j = 1; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // takes value of 1 or 2&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// Process each digit one by one starting at the right&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var calc;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;for (i = cardNo.length - 1; i &amp;gt;= 0; i--) {&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// Extract the next digit and multiply by 1 or 2 on alternative digits.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;calc = Number(cardNo.charAt(i)) * j;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// If the result is in two digits add 1 to the checksum total&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (calc &amp;gt; 9) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checksum = checksum + 1;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;calc = calc - 10;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// Add the units element to the checksum total&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;checksum = checksum + calc;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// Switch the value of j&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (j ==1) {j = 2} else {j = 1};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;} &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// All done - if checksum is divisible by 10, it is a valid modulus 10.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// If not, report an error.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (checksum % 10 != 0) &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;ccErrorNo = 3;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;return false; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;} &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
// The following are the card-specific checks we undertake.&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var LengthValid = false;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var PrefixValid = false; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var undefined; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
// We use these for holding the valid lengths and prefixes of a card type&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var prefix = new Array ();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var lengths = new Array ();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// Load an array with the valid prefixes for this card&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;prefix = cards[cardType].prefixes.split(&quot;,&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// Now see if any of them match what we have in the card number&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;for (i=0; i&amp;lt;prefix.length; i++) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;var exp = new RegExp (&quot;^&quot; + prefix[i]);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (exp.test (cardNo)) PrefixValid = true;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// If it isn&#39;t a valid prefix there&#39;s no point at looking at the length&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (!PrefixValid) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;ccErrorNo = 3;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;return false; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// See if the length is valid for this card&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;lengths = cards[cardType].length.split(&quot;,&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;for (j=0; j&amp;lt;lengths.length; j++) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (cardNo.length == lengths[j]) LengthValid = true;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// See if all is OK by seeing if the length was valid. We only check the &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// length if all else was hunky dory.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (!LengthValid) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;ccErrorNo = 4;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;return false; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;// The credit card is in the required format.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;return true;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;function validateCard (errorField) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cardText = document.getElementById(&#39;txtCardNumber&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;myCardNo = document.getElementById(&#39;txtCardNumber&#39;).value;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;myCardType = document.getElementById(&#39;cardType&#39;).value;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;if (checkCreditCard (myCardNo,myCardType))&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;errorField.style.visibility=&#39;hidden&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;errorField.innerHTML=&quot;&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cardText.style.border=&#39;#339900 solid 1px&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;return &quot;&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;} &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;else &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;{//alert (ccErrors[ccErrorNo])&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;errorField.innerHTML=&quot;Credit card number is invalid&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;errorField.style.visibility=&#39;visible&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;errorField.style.border=&#39;#FF3333 solid 1px&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;errorField.style.background=&#39;#FBE3E4&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;errorField.style.color=&#39;#8a1f11&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;errorField.style.fontSize=&#39;10px&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;cardText.style.border=&#39;#FF3333 solid 1px&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;return false;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/4303600924138046792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/03/check-various-credit-card-validation-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/4303600924138046792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/4303600924138046792'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/03/check-various-credit-card-validation-in.html' title='Check Various Credit Card Validation In JS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-7485507639202833705</id><published>2010-02-12T03:56:00.000-08:00</published><updated>2010-02-12T03:56:58.142-08:00</updated><title type='text'>Contact Me</title><content type='html'>&lt;b&gt;If Any one want to contact me use following form. and me your suggestion and your view.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowtransparency=&quot;true&quot; frameborder=&quot;0&quot; height=&quot;500px&quot; name=&quot;zoho-contact_me&quot; scrolling=&quot;auto&quot; src=&quot;http://creator.zoho.com/omkargupta/contact-me/form-embed/contact_me/&quot; width=&quot;100%&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/7485507639202833705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/02/contact-me.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/7485507639202833705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/7485507639202833705'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/02/contact-me.html' title='Contact Me'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-8285902810215668025</id><published>2010-02-10T00:11:00.000-08:00</published><updated>2011-09-25T07:35:12.788-07:00</updated><title type='text'>Send Mail of Dynamic generate table in php</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;b&gt;If we need to send some data comes from database in table format via email to other email automatically to using PHP script like newsletter.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;b&gt;Code:-&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt; $senderheaders &amp;nbsp;= &quot;From: dept@xyz.com\r\n&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;$senderheaders .= &quot;Content-type: text/html\r\n&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;$subject=&quot;Dept Category Item Detail&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;$sendId=&#39;test@xyz.com&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;$textTosend=&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;table width=&quot;700px&quot; align=&quot;center&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td colspan=&quot;3&quot; align=&quot;center&quot; &amp;nbsp;class=&quot;title&quot; height=&quot;30px&quot;&amp;gt;&amp;lt;strong&amp;gt;Category Item Detail &amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;strong&amp;gt;Item Name&amp;lt;/strong&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;/td&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;strong&amp;gt;Item Cost&amp;lt;/strong&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;/td&amp;gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;strong&amp;gt;Item Qty.&amp;lt;/strong&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;/td&amp;gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt; $selItem=&quot;select * from item where cate_id=$Id&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;$itemRs=mysql_query($selItem,$dbc);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;while($itemRow=mysql_fetch_array($itemRs)){&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;$itemDetail=itemDetail($itemRow[&quot;product_id&quot;],$dbc);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;$textTosend.=&#39;&amp;lt;tr&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&#39;.$itemDetail[&quot;item_name&quot;].&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;/td&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&#39;.$itemDetail[&quot;price_unit&quot;].&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;/td&amp;gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&#39;.$itemRow[&quot;quantity&quot;].&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;/td&amp;gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt; $textTosend.=&#39;&amp;lt;/table&amp;gt;&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt; if(mail($sendId,$subject,$textTosend,$senderheaders)){&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;echo &#39;&amp;lt;div class=&quot;success&quot;&amp;gt;Echo &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #274e13;&quot;&gt;Mail Send &amp;nbsp;SuccessFully&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;/div&amp;gt;&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;} &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;?&amp;gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/8285902810215668025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/02/send-mail-of-dynamic-generate-table-in.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/8285902810215668025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/8285902810215668025'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/02/send-mail-of-dynamic-generate-table-in.html' title='Send Mail of Dynamic generate table in php'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-5649740721551348425</id><published>2010-02-01T23:59:00.000-08:00</published><updated>2010-02-01T23:59:30.709-08:00</updated><title type='text'>Implement Currency conversion in php with ajax</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;This will help to attach a world class api to your web page to calculate currency conversion at your end using ajax.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEPa0QGUMaFYtuWS5IdWo9wTctXvFbQqafTHoOCKrqRcwicqX0d5rgfyyn4fMGJqotZBJa_Agb5Xlhyphenhyphen-5yZxHL11xOMFztFkFC7glt1rtEg9XlSOtFUMZTd3haJ9jzodU2Q01y8TrzanUg/s1600-h/curr.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEPa0QGUMaFYtuWS5IdWo9wTctXvFbQqafTHoOCKrqRcwicqX0d5rgfyyn4fMGJqotZBJa_Agb5Xlhyphenhyphen-5yZxHL11xOMFztFkFC7glt1rtEg9XlSOtFUMZTd3haJ9jzodU2Q01y8TrzanUg/s320/curr.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Code:-&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;http://currencyconverter.55uk.net/currency_converter_json.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;function getMyRate(jData) {&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;if (jData == null) {&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;alert(&quot;There was a problem parsing search results.&quot;);&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;return;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;var myval = jData.ResultSet;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;var mydiv = jData.xxMyDiv;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;document.getElementById(mydiv).innerHTML = myval;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&amp;lt;form method=&quot;post&quot; action=&quot;currencyConvert.php&quot;&amp;gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;table align=&quot;center&quot; width=&quot;500px&quot; style=&quot;border:#CCCCCC solid 1px;&quot;&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td align=&quot;center&quot; bgcolor=&quot;#E9E9E9&quot;&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;strong&amp;gt;Currency Conversion From one To other&amp;lt;/strong&amp;gt;&amp;lt;input type=&quot;hidden&quot; name=&quot;act&quot; value=&quot;true&quot; /&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td align=&quot;left&quot;&amp;gt;&amp;lt;strong&amp;gt;Enter Amount&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;input type=&quot;text&quot; size=&quot;10&quot; name=&quot;amt&quot; /&amp;gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;strong&amp;gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Select Curreny Country from &amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;select name=&quot;From&quot; size=&quot;4&quot;&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option selected=&quot;selected&quot; value=&quot;AFN&quot;&amp;gt;Afghanistan, Afghani (AFN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ALL&quot;&amp;gt;Albania, Lek (ALL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;DZD&quot;&amp;gt;Algeria, Dinar (DZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;America (United States), Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;American Samoa, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Andorra, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AOA&quot;&amp;gt;Angola, Kwanza (AOA)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Anguilla, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Antigua and Barbuda, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ARS&quot;&amp;gt;Argentina, Peso (ARS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AMD&quot;&amp;gt;Armenia, Dram (AMD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AWG&quot;&amp;gt;Aruba, Guilder (AWG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Ashmore and Cartier Islands, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Australia, Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Austria, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AZN&quot;&amp;gt;Azerbaijan, New Manat (AZN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Azores, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BSD&quot;&amp;gt;Bahamas, Dollar (BSD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BHD&quot;&amp;gt;Bahrain, Dinar (BHD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BBD&quot;&amp;gt;Bajan (Barbados), Dollar (BBD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Balearic Islands, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BDT&quot;&amp;gt;Bangladesh, Taka (BDT)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BBD&quot;&amp;gt;Barbados, Dollar (BBD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BYR&quot;&amp;gt;Belarus, Ruble (BYR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Belgium, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BZD&quot;&amp;gt;Belize, Dollar (BZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Benin, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BMD&quot;&amp;gt;Bermuda, Dollar (BMD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;INR&quot;&amp;gt;Bhutan, India Rupee (INR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BTN&quot;&amp;gt;Bhutan, Ngultrum (BTN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BOB&quot;&amp;gt;Bolivia, Boliviano (BOB)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ANG&quot;&amp;gt;Bonaire, Netherlands Antilles Guilder (ANG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BAM&quot;&amp;gt;Bosnia and Herzegovina, Convertible Marka (BAM)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BWP&quot;&amp;gt;Botswana, Pula (BWP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BRL&quot;&amp;gt;Brazil, Real (BRL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;Britain (United Kingdom), Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;British Indian Ocean Territory, United Kingdom Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;British Indian Ocean Territory, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;British Virgin Islands, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BND&quot;&amp;gt;Brunei, Dollar (BND)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SGD&quot;&amp;gt;Brunei, Singapore Dollar (SGD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BGN&quot;&amp;gt;Bulgaria, Lev (BGN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Burkina Faso, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MMK&quot;&amp;gt;Burma (Myanmar), Kyat (MMK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BIF&quot;&amp;gt;Burundi, Franc (BIF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KHR&quot;&amp;gt;Cambodia, Riel (KHR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Cameroon, CFA Franc BEAC (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CAD&quot;&amp;gt;Canada, Dollar (CAD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Canary Islands, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CVE&quot;&amp;gt;Cape Verde, Escudo (CVE)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KYD&quot;&amp;gt;Cayman Islands, Dollar (KYD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Central African Republic, CFA Franc BEAC (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;CFA Communauté Financière Africaine BEAC Franc (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;CFA Communauté Financière Africaine BCEAO Franc (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Chad, CFA Franc BEAC (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CLP&quot;&amp;gt;Chile, Peso (CLP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CNY&quot;&amp;gt;China, Yuan Renminbi (CNY)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Christmas Island, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Cocos (Keeling Islands, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;COP&quot;&amp;gt;Colombia, Peso (COP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Communauté Financière Africaine BEAC Franc (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Communauté Financière Africaine BCEAO Franc (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KMF&quot;&amp;gt;Comoros, Franc (KMF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XPF&quot;&amp;gt;Comptoirs Français du Pacifique Franc (XPF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Congo/Brazzaville, CFA Franc BEAC (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CDF&quot;&amp;gt;Congo/Kinshasa, Franc (CDF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NZD&quot;&amp;gt;Cook Islands, New Zealand Dollar (NZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Coral Sea Islands, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CRC&quot;&amp;gt;Costa Rica, Colon (CRC)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Côte d&#39;Ivoire, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;HRK&quot;&amp;gt;Croatia, Kuna (HRK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CUC&quot;&amp;gt;Cuba, Convertible Peso (CUC)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CUP&quot;&amp;gt;Cuba, Peso (CUP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ANG&quot;&amp;gt;Curaço, Netherlands Antilles Guilder (ANG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Cyprus, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CZK&quot;&amp;gt;Czech Republic, Koruna (CZK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;DKK&quot;&amp;gt;Denmark, Krone (DKK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;DJF&quot;&amp;gt;Djibouti, Franc (DJF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Dominica, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;DOP&quot;&amp;gt;Dominican Republic, Peso (DOP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Dutch (Netherlands), Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;East Timor, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Ecuador, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EGP&quot;&amp;gt;Egypt, Pound (EGP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SVC&quot;&amp;gt;El Salvador, Colon (SVC)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;El Salvador, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;England (United Kingdom), Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Equatorial Guinea, CFA Franc BEAC (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ERN&quot;&amp;gt;Eritrea, Nakfa (ERN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EEK&quot;&amp;gt;Estonia, Kroon (EEK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ETB&quot;&amp;gt;Ethiopia, Birr (ETB)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Europa Island, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;FKP&quot;&amp;gt;Falkland Islands, Pound (FKP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;DKK&quot;&amp;gt;Faroe Islands, Denmark Krone (DKK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;FJD&quot;&amp;gt;Fiji, Dollar (FJD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Finland, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;France, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;French Guiana, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XPF&quot;&amp;gt;French Polynesia, Comptoirs Français du Pacifique Franc (XPF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;French Southern and Antarctic Lands, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Gabon, CFA Franc BEAC (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GMD&quot;&amp;gt;Gambia, Dalasi (GMD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ILS&quot;&amp;gt;Gaza Strip, Israel New Shekel (ILS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GEL&quot;&amp;gt;Georgia, Lari (GEL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Germany, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GHS&quot;&amp;gt;Ghana, Cedi (GHS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GIP&quot;&amp;gt;Gibraltar, Pound (GIP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAU&quot;&amp;gt;Gold Ounce (XAU)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;Great Britain (United Kingdom), Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Greece, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;DKK&quot;&amp;gt;Greenland, Denmark Krone (DKK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Grenada, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Guadeloupe, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Guam, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GTQ&quot;&amp;gt;Guatemala, Quetzal (GTQ)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GGP&quot;&amp;gt;Guernsey, Pound (GGP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GNF&quot;&amp;gt;Guinea, Franc (GNF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Guinea-Bissau, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GYD&quot;&amp;gt;Guyana, Dollar (GYD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;HTG&quot;&amp;gt;Haiti, Gourde (HTG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Holland (Netherlands), Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Holy See (Vatican City), Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;HNL&quot;&amp;gt;Honduras, Lempira (HNL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;HKD&quot;&amp;gt;Hong Kong, Dollar (HKD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;HUF&quot;&amp;gt;Hungary, Forint (HUF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ISK&quot;&amp;gt;Iceland, Krona (ISK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;INR&quot;&amp;gt;India, Rupee (INR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;IDR&quot;&amp;gt;Indonesia, Rupiah (IDR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XDR&quot;&amp;gt;International Monetary Fund Special Drawing Right (XDR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;IRR&quot;&amp;gt;Iran, Rial (IRR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;IQD&quot;&amp;gt;Iraq, Dinar (IQD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Ireland, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;FKP&quot;&amp;gt;Islas Malvinas (Falkland Islands), Pound (FKP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;IMP&quot;&amp;gt;Isle of Man, Pound (IMP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ILS&quot;&amp;gt;Israel, New Shekel (ILS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Italy, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Ivory Coast (Côte d&#39;Ivoire), CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;JMD&quot;&amp;gt;Jamaica, Dollar (JMD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;JPY&quot;&amp;gt;Japan, Yen (JPY)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;JEP&quot;&amp;gt;Jersey, Pound (JEP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Johnson, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;JOD&quot;&amp;gt;Jordan, Dinar (JOD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Juan de Nova, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KZT&quot;&amp;gt;Kazakhstan, Tenge (KZT)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KES&quot;&amp;gt;Kenya, Shilling (KES)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Kiribati, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KWD&quot;&amp;gt;Kuwait, Dinar (KWD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KGS&quot;&amp;gt;Kyrgyzstan, Som (KGS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LAK&quot;&amp;gt;Laos, Kip (LAK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LVL&quot;&amp;gt;Latvia, Lat (LVL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LBP&quot;&amp;gt;Lebanon, Pound (LBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LSL&quot;&amp;gt;Lesotho, Loti (LSL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LRD&quot;&amp;gt;Liberia, Dollar (LRD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LYD&quot;&amp;gt;Libya, Dinar (LYD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CHF&quot;&amp;gt;Liechtenstein, Switzerland Franc (CHF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LTL&quot;&amp;gt;Lithuania, Litas (LTL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Luxembourg, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MOP&quot;&amp;gt;Macau, Pataca (MOP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MKD&quot;&amp;gt;Macedonia, Denar (MKD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MGA&quot;&amp;gt;Madagascar, Ariary (MGA)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Madeira Islands, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MWK&quot;&amp;gt;Malawi, Kwacha (MWK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MYR&quot;&amp;gt;Malaysia, Ringgit (MYR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MVR&quot;&amp;gt;Maldives, Rufiyaa (MVR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Mali, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Malta, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;FKP&quot;&amp;gt;Malvinas (Falkland Islands), Pound (FKP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Marshall Islands, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Martinique, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MRO&quot;&amp;gt;Mauritania, Ouguiya (MRO)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MUR&quot;&amp;gt;Mauritius, Rupee (MUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Mayotte, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MXN&quot;&amp;gt;Mexico, Peso (MXN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Micronesia, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Midway Islands, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MDL&quot;&amp;gt;Moldova, Leu (MDL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Monaco, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MNT&quot;&amp;gt;Mongolia, Tughrik (MNT)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Montenegro, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Montserrat, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MAD&quot;&amp;gt;Morocco, Dirham (MAD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MZN&quot;&amp;gt;Mozambique, Metical (MZN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MMK&quot;&amp;gt;Myanmar (Burma), Kyat (MMK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NAD&quot;&amp;gt;Namibia, Dollar (NAD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Nauru, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;HTG&quot;&amp;gt;Navassa, Haiti Gourde (HTG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Navassa, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NPR&quot;&amp;gt;Nepal, Rupee (NPR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ANG&quot;&amp;gt;Netherlands Antilles, Guilder (ANG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Netherlands, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XPF&quot;&amp;gt;New Caledonia, Comptoirs Français du Pacifique Franc (XPF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NZD&quot;&amp;gt;New Zealand, Dollar (NZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NIO&quot;&amp;gt;Nicaragua, Cordoba (NIO)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Niger, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NGN&quot;&amp;gt;Nigeria, Naira (NGN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NZD&quot;&amp;gt;Niue, New Zealand Dollar (NZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Norfolk Island, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KPW&quot;&amp;gt;North Korea, Won (KPW)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Northern Mariana Islands, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NOK&quot;&amp;gt;Norway, Krone (NOK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;OMR&quot;&amp;gt;Oman, Rial (OMR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PKR&quot;&amp;gt;Pakistan, Rupee (PKR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Palau, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XPD&quot;&amp;gt;Palladium Ounce (XPD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PAB&quot;&amp;gt;Panama, Balboa (PAB)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Panama, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PGK&quot;&amp;gt;Papua New Guinea, Kina (PGK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CNY&quot;&amp;gt;Paracel Islands, China Yuan Renminbi (CNY)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;VND&quot;&amp;gt;Paracel Islands, Vietnam Dong (VND)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PYG&quot;&amp;gt;Paraguay, Guarani (PYG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PEN&quot;&amp;gt;Peru, Nuevo Sol (PEN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PHP&quot;&amp;gt;Philippines, Peso (PHP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NZD&quot;&amp;gt;Pitcairn, New Zealand Dollar (NZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XPT&quot;&amp;gt;Platinum Ounce (XPT)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PLN&quot;&amp;gt;Poland, Zloty (PLN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Portugal, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Puerto Rico, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;QAR&quot;&amp;gt;Qatar, Riyal (QAR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Réunion, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;RON&quot;&amp;gt;Romania, New Leu (RON)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;RUB&quot;&amp;gt;Russia, Ruble (RUB)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;RWF&quot;&amp;gt;Rwanda, Franc (RWF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ANG&quot;&amp;gt;Saba, Netherlands Antilles Guilder (ANG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SHP&quot;&amp;gt;Saint Helena, Pound (SHP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Saint Kitts and Nevis, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Saint Lucia, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Saint Pierre and Miquelon, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Saint Vincent and The Grenadines, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Saint-Martin, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;WST&quot;&amp;gt;Samoa, Tala (WST)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;San Marino, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;STD&quot;&amp;gt;São Tome and Principe, Dobra (STD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SAR&quot;&amp;gt;Saudi Arabia, Riyal (SAR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;Scotland (United Kingdom), Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SPL&quot;&amp;gt;Seborga, Luigino (SPL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Senegal, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;RSD&quot;&amp;gt;Serbia, Dinar (RSD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SCR&quot;&amp;gt;Seychelles, Rupee (SCR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SLL&quot;&amp;gt;Sierra Leone, Leone (SLL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAG&quot;&amp;gt;Silver Ounce (XAG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SGD&quot;&amp;gt;Singapore, Dollar (SGD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ANG&quot;&amp;gt;Sint Eustatius, Netherlands Antilles Guilder (ANG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ANG&quot;&amp;gt;Sint Maarten, Netherlands Antilles Guilder (ANG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Slovakia, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Slovenia, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SBD&quot;&amp;gt;Solomon Islands, Dollar (SBD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SOS&quot;&amp;gt;Somalia, Shilling (SOS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ZAR&quot;&amp;gt;South Africa, Rand (ZAR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;South Georgia, United Kingdom Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KRW&quot;&amp;gt;South Korea, Won (KRW)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;South Sandwich Islands, United Kingdom Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Spain, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LKR&quot;&amp;gt;Sri Lanka, Rupee (LKR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SDG&quot;&amp;gt;Sudan, Pound (SDG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SRD&quot;&amp;gt;Suriname, Dollar (SRD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NOK&quot;&amp;gt;Svalbard and Jan Mayen, Norway Krone (NOK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SZL&quot;&amp;gt;Swaziland, Lilangeni (SZL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ZAR&quot;&amp;gt;Swaziland, South Africa Rand (ZAR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SEK&quot;&amp;gt;Sweden, Krona (SEK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CHF&quot;&amp;gt;Switzerland, Franc (CHF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SYP&quot;&amp;gt;Syria, Pound (SYP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TWD&quot;&amp;gt;Taiwan, New Dollar (TWD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TJS&quot;&amp;gt;Tajikistan, Somoni (TJS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;RUB&quot;&amp;gt;Tajikistan, Russia Ruble (RUB)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TZS&quot;&amp;gt;Tanzania, Shilling (TZS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;THB&quot;&amp;gt;Thailand, Baht (THB)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Togo, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NZD&quot;&amp;gt;Tokelau, New Zealand Dollar (NZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TOP&quot;&amp;gt;Tonga, Pa&#39;anga (TOP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MDL&quot;&amp;gt;Transnistria, Moldova Leu (MDL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TTD&quot;&amp;gt;Trinidad and Tobago, Dollar (TTD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TND&quot;&amp;gt;Tunisia, Dinar (TND)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TRY&quot;&amp;gt;Turkey, Lira (TRY)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TMT&quot;&amp;gt;Turkmenistan, New Manat (TMT)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TMM&quot;&amp;gt;Turkmenistan, Manat (TMM)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Turks and Caicos Islands, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Tuvalu, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TVD&quot;&amp;gt;Tuvalu, Dollar (TVD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;UGX&quot;&amp;gt;Uganda, Shilling (UGX)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;UAH&quot;&amp;gt;Ukraine, Hryvna (UAH)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AED&quot;&amp;gt;United Arab Emirates, Dirham (AED)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;United Kingdom, Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;United States, Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;UYU&quot;&amp;gt;Uruguay, Peso (UYU)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;UZS&quot;&amp;gt;Uzbekistan, Som (UZS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;VUV&quot;&amp;gt;Vanuatu, Vatu (VUV)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Vatican City, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;VEF&quot;&amp;gt;Venezuela, Bolivar Fuerte (VEF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;VND&quot;&amp;gt;Vietnam, Dong (VND)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Virgin Islands, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Wake Island, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XPF&quot;&amp;gt;Wallis and Futuna Islands, Comptoirs Français du Pacifique Franc (XPF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ILS&quot;&amp;gt;West Bank, Israel New Shekel (ILS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;JOD&quot;&amp;gt;West Bank, Jordan Dinar (JOD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MAD&quot;&amp;gt;Western Sahara, Morocco Dirham (MAD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;WST&quot;&amp;gt;Samoa, Tala (WST)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;YER&quot;&amp;gt;Yemen, Rial (YER)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ZMK&quot;&amp;gt;Zambia, Kwacha (ZMK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ZWD&quot;&amp;gt;Zimbabwe, Dollar (ZWD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/select&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;strong&amp;gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Select Curreny Country To &amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;select name=&quot;to&quot; size=&quot;4&quot;&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option selected=&quot;selected&quot; value=&quot;AFN&quot;&amp;gt;Afghanistan, Afghani (AFN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ALL&quot;&amp;gt;Albania, Lek (ALL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;DZD&quot;&amp;gt;Algeria, Dinar (DZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;America (United States), Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;American Samoa, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Andorra, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AOA&quot;&amp;gt;Angola, Kwanza (AOA)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Anguilla, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Antigua and Barbuda, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ARS&quot;&amp;gt;Argentina, Peso (ARS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AMD&quot;&amp;gt;Armenia, Dram (AMD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AWG&quot;&amp;gt;Aruba, Guilder (AWG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Ashmore and Cartier Islands, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Australia, Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Austria, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AZN&quot;&amp;gt;Azerbaijan, New Manat (AZN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Azores, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BSD&quot;&amp;gt;Bahamas, Dollar (BSD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BHD&quot;&amp;gt;Bahrain, Dinar (BHD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BBD&quot;&amp;gt;Bajan (Barbados), Dollar (BBD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Balearic Islands, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BDT&quot;&amp;gt;Bangladesh, Taka (BDT)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BBD&quot;&amp;gt;Barbados, Dollar (BBD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BYR&quot;&amp;gt;Belarus, Ruble (BYR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Belgium, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BZD&quot;&amp;gt;Belize, Dollar (BZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Benin, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BMD&quot;&amp;gt;Bermuda, Dollar (BMD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;INR&quot;&amp;gt;Bhutan, India Rupee (INR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BTN&quot;&amp;gt;Bhutan, Ngultrum (BTN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BOB&quot;&amp;gt;Bolivia, Boliviano (BOB)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ANG&quot;&amp;gt;Bonaire, Netherlands Antilles Guilder (ANG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BAM&quot;&amp;gt;Bosnia and Herzegovina, Convertible Marka (BAM)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BWP&quot;&amp;gt;Botswana, Pula (BWP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BRL&quot;&amp;gt;Brazil, Real (BRL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;Britain (United Kingdom), Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;British Indian Ocean Territory, United Kingdom Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;British Indian Ocean Territory, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;British Virgin Islands, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BND&quot;&amp;gt;Brunei, Dollar (BND)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SGD&quot;&amp;gt;Brunei, Singapore Dollar (SGD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BGN&quot;&amp;gt;Bulgaria, Lev (BGN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Burkina Faso, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MMK&quot;&amp;gt;Burma (Myanmar), Kyat (MMK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;BIF&quot;&amp;gt;Burundi, Franc (BIF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KHR&quot;&amp;gt;Cambodia, Riel (KHR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Cameroon, CFA Franc BEAC (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CAD&quot;&amp;gt;Canada, Dollar (CAD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Canary Islands, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CVE&quot;&amp;gt;Cape Verde, Escudo (CVE)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KYD&quot;&amp;gt;Cayman Islands, Dollar (KYD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Central African Republic, CFA Franc BEAC (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;CFA Communauté Financière Africaine BEAC Franc (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;CFA Communauté Financière Africaine BCEAO Franc (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Chad, CFA Franc BEAC (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CLP&quot;&amp;gt;Chile, Peso (CLP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CNY&quot;&amp;gt;China, Yuan Renminbi (CNY)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Christmas Island, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Cocos (Keeling Islands, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;COP&quot;&amp;gt;Colombia, Peso (COP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Communauté Financière Africaine BEAC Franc (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Communauté Financière Africaine BCEAO Franc (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KMF&quot;&amp;gt;Comoros, Franc (KMF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XPF&quot;&amp;gt;Comptoirs Français du Pacifique Franc (XPF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Congo/Brazzaville, CFA Franc BEAC (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CDF&quot;&amp;gt;Congo/Kinshasa, Franc (CDF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NZD&quot;&amp;gt;Cook Islands, New Zealand Dollar (NZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Coral Sea Islands, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CRC&quot;&amp;gt;Costa Rica, Colon (CRC)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Côte d&#39;Ivoire, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;HRK&quot;&amp;gt;Croatia, Kuna (HRK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CUC&quot;&amp;gt;Cuba, Convertible Peso (CUC)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CUP&quot;&amp;gt;Cuba, Peso (CUP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ANG&quot;&amp;gt;Curaço, Netherlands Antilles Guilder (ANG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Cyprus, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CZK&quot;&amp;gt;Czech Republic, Koruna (CZK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;DKK&quot;&amp;gt;Denmark, Krone (DKK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;DJF&quot;&amp;gt;Djibouti, Franc (DJF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Dominica, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;DOP&quot;&amp;gt;Dominican Republic, Peso (DOP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Dutch (Netherlands), Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;East Timor, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Ecuador, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EGP&quot;&amp;gt;Egypt, Pound (EGP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SVC&quot;&amp;gt;El Salvador, Colon (SVC)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;El Salvador, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;England (United Kingdom), Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Equatorial Guinea, CFA Franc BEAC (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ERN&quot;&amp;gt;Eritrea, Nakfa (ERN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EEK&quot;&amp;gt;Estonia, Kroon (EEK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ETB&quot;&amp;gt;Ethiopia, Birr (ETB)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Europa Island, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;FKP&quot;&amp;gt;Falkland Islands, Pound (FKP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;DKK&quot;&amp;gt;Faroe Islands, Denmark Krone (DKK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;FJD&quot;&amp;gt;Fiji, Dollar (FJD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Finland, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;France, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;French Guiana, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XPF&quot;&amp;gt;French Polynesia, Comptoirs Français du Pacifique Franc (XPF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;French Southern and Antarctic Lands, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAF&quot;&amp;gt;Gabon, CFA Franc BEAC (XAF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GMD&quot;&amp;gt;Gambia, Dalasi (GMD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ILS&quot;&amp;gt;Gaza Strip, Israel New Shekel (ILS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GEL&quot;&amp;gt;Georgia, Lari (GEL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Germany, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GHS&quot;&amp;gt;Ghana, Cedi (GHS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GIP&quot;&amp;gt;Gibraltar, Pound (GIP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAU&quot;&amp;gt;Gold Ounce (XAU)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;Great Britain (United Kingdom), Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Greece, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;DKK&quot;&amp;gt;Greenland, Denmark Krone (DKK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Grenada, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Guadeloupe, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Guam, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GTQ&quot;&amp;gt;Guatemala, Quetzal (GTQ)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GGP&quot;&amp;gt;Guernsey, Pound (GGP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GNF&quot;&amp;gt;Guinea, Franc (GNF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Guinea-Bissau, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GYD&quot;&amp;gt;Guyana, Dollar (GYD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;HTG&quot;&amp;gt;Haiti, Gourde (HTG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Holland (Netherlands), Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Holy See (Vatican City), Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;HNL&quot;&amp;gt;Honduras, Lempira (HNL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;HKD&quot;&amp;gt;Hong Kong, Dollar (HKD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;HUF&quot;&amp;gt;Hungary, Forint (HUF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ISK&quot;&amp;gt;Iceland, Krona (ISK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;INR&quot;&amp;gt;India, Rupee (INR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;IDR&quot;&amp;gt;Indonesia, Rupiah (IDR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XDR&quot;&amp;gt;International Monetary Fund Special Drawing Right (XDR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;IRR&quot;&amp;gt;Iran, Rial (IRR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;IQD&quot;&amp;gt;Iraq, Dinar (IQD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Ireland, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;FKP&quot;&amp;gt;Islas Malvinas (Falkland Islands), Pound (FKP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;IMP&quot;&amp;gt;Isle of Man, Pound (IMP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ILS&quot;&amp;gt;Israel, New Shekel (ILS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Italy, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Ivory Coast (Côte d&#39;Ivoire), CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;JMD&quot;&amp;gt;Jamaica, Dollar (JMD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;JPY&quot;&amp;gt;Japan, Yen (JPY)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;JEP&quot;&amp;gt;Jersey, Pound (JEP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Johnson, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;JOD&quot;&amp;gt;Jordan, Dinar (JOD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Juan de Nova, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KZT&quot;&amp;gt;Kazakhstan, Tenge (KZT)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KES&quot;&amp;gt;Kenya, Shilling (KES)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Kiribati, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KWD&quot;&amp;gt;Kuwait, Dinar (KWD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KGS&quot;&amp;gt;Kyrgyzstan, Som (KGS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LAK&quot;&amp;gt;Laos, Kip (LAK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LVL&quot;&amp;gt;Latvia, Lat (LVL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LBP&quot;&amp;gt;Lebanon, Pound (LBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LSL&quot;&amp;gt;Lesotho, Loti (LSL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LRD&quot;&amp;gt;Liberia, Dollar (LRD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LYD&quot;&amp;gt;Libya, Dinar (LYD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CHF&quot;&amp;gt;Liechtenstein, Switzerland Franc (CHF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LTL&quot;&amp;gt;Lithuania, Litas (LTL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Luxembourg, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MOP&quot;&amp;gt;Macau, Pataca (MOP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MKD&quot;&amp;gt;Macedonia, Denar (MKD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MGA&quot;&amp;gt;Madagascar, Ariary (MGA)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Madeira Islands, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MWK&quot;&amp;gt;Malawi, Kwacha (MWK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MYR&quot;&amp;gt;Malaysia, Ringgit (MYR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MVR&quot;&amp;gt;Maldives, Rufiyaa (MVR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Mali, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Malta, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;FKP&quot;&amp;gt;Malvinas (Falkland Islands), Pound (FKP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Marshall Islands, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Martinique, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MRO&quot;&amp;gt;Mauritania, Ouguiya (MRO)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MUR&quot;&amp;gt;Mauritius, Rupee (MUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Mayotte, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MXN&quot;&amp;gt;Mexico, Peso (MXN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Micronesia, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Midway Islands, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MDL&quot;&amp;gt;Moldova, Leu (MDL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Monaco, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MNT&quot;&amp;gt;Mongolia, Tughrik (MNT)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Montenegro, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Montserrat, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MAD&quot;&amp;gt;Morocco, Dirham (MAD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MZN&quot;&amp;gt;Mozambique, Metical (MZN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MMK&quot;&amp;gt;Myanmar (Burma), Kyat (MMK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NAD&quot;&amp;gt;Namibia, Dollar (NAD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Nauru, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;HTG&quot;&amp;gt;Navassa, Haiti Gourde (HTG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Navassa, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NPR&quot;&amp;gt;Nepal, Rupee (NPR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ANG&quot;&amp;gt;Netherlands Antilles, Guilder (ANG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Netherlands, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XPF&quot;&amp;gt;New Caledonia, Comptoirs Français du Pacifique Franc (XPF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NZD&quot;&amp;gt;New Zealand, Dollar (NZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NIO&quot;&amp;gt;Nicaragua, Cordoba (NIO)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Niger, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NGN&quot;&amp;gt;Nigeria, Naira (NGN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NZD&quot;&amp;gt;Niue, New Zealand Dollar (NZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Norfolk Island, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KPW&quot;&amp;gt;North Korea, Won (KPW)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Northern Mariana Islands, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NOK&quot;&amp;gt;Norway, Krone (NOK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;OMR&quot;&amp;gt;Oman, Rial (OMR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PKR&quot;&amp;gt;Pakistan, Rupee (PKR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Palau, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XPD&quot;&amp;gt;Palladium Ounce (XPD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PAB&quot;&amp;gt;Panama, Balboa (PAB)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Panama, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PGK&quot;&amp;gt;Papua New Guinea, Kina (PGK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CNY&quot;&amp;gt;Paracel Islands, China Yuan Renminbi (CNY)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;VND&quot;&amp;gt;Paracel Islands, Vietnam Dong (VND)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PYG&quot;&amp;gt;Paraguay, Guarani (PYG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PEN&quot;&amp;gt;Peru, Nuevo Sol (PEN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PHP&quot;&amp;gt;Philippines, Peso (PHP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NZD&quot;&amp;gt;Pitcairn, New Zealand Dollar (NZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XPT&quot;&amp;gt;Platinum Ounce (XPT)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;PLN&quot;&amp;gt;Poland, Zloty (PLN)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Portugal, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Puerto Rico, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;QAR&quot;&amp;gt;Qatar, Riyal (QAR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Réunion, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;RON&quot;&amp;gt;Romania, New Leu (RON)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;RUB&quot;&amp;gt;Russia, Ruble (RUB)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;RWF&quot;&amp;gt;Rwanda, Franc (RWF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ANG&quot;&amp;gt;Saba, Netherlands Antilles Guilder (ANG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SHP&quot;&amp;gt;Saint Helena, Pound (SHP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Saint Kitts and Nevis, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Saint Lucia, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Saint Pierre and Miquelon, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XCD&quot;&amp;gt;Saint Vincent and The Grenadines, East Caribbean Dollar (XCD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Saint-Martin, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;WST&quot;&amp;gt;Samoa, Tala (WST)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;San Marino, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;STD&quot;&amp;gt;São Tome and Principe, Dobra (STD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SAR&quot;&amp;gt;Saudi Arabia, Riyal (SAR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;Scotland (United Kingdom), Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SPL&quot;&amp;gt;Seborga, Luigino (SPL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Senegal, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;RSD&quot;&amp;gt;Serbia, Dinar (RSD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SCR&quot;&amp;gt;Seychelles, Rupee (SCR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SLL&quot;&amp;gt;Sierra Leone, Leone (SLL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XAG&quot;&amp;gt;Silver Ounce (XAG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SGD&quot;&amp;gt;Singapore, Dollar (SGD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ANG&quot;&amp;gt;Sint Eustatius, Netherlands Antilles Guilder (ANG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ANG&quot;&amp;gt;Sint Maarten, Netherlands Antilles Guilder (ANG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Slovakia, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Slovenia, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SBD&quot;&amp;gt;Solomon Islands, Dollar (SBD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SOS&quot;&amp;gt;Somalia, Shilling (SOS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ZAR&quot;&amp;gt;South Africa, Rand (ZAR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;South Georgia, United Kingdom Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;KRW&quot;&amp;gt;South Korea, Won (KRW)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;South Sandwich Islands, United Kingdom Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Spain, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;LKR&quot;&amp;gt;Sri Lanka, Rupee (LKR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SDG&quot;&amp;gt;Sudan, Pound (SDG)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SRD&quot;&amp;gt;Suriname, Dollar (SRD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NOK&quot;&amp;gt;Svalbard and Jan Mayen, Norway Krone (NOK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SZL&quot;&amp;gt;Swaziland, Lilangeni (SZL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ZAR&quot;&amp;gt;Swaziland, South Africa Rand (ZAR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SEK&quot;&amp;gt;Sweden, Krona (SEK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;CHF&quot;&amp;gt;Switzerland, Franc (CHF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;SYP&quot;&amp;gt;Syria, Pound (SYP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TWD&quot;&amp;gt;Taiwan, New Dollar (TWD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TJS&quot;&amp;gt;Tajikistan, Somoni (TJS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;RUB&quot;&amp;gt;Tajikistan, Russia Ruble (RUB)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TZS&quot;&amp;gt;Tanzania, Shilling (TZS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;THB&quot;&amp;gt;Thailand, Baht (THB)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XOF&quot;&amp;gt;Togo, CFA Franc BCEAO (XOF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;NZD&quot;&amp;gt;Tokelau, New Zealand Dollar (NZD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TOP&quot;&amp;gt;Tonga, Pa&#39;anga (TOP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MDL&quot;&amp;gt;Transnistria, Moldova Leu (MDL)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TTD&quot;&amp;gt;Trinidad and Tobago, Dollar (TTD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TND&quot;&amp;gt;Tunisia, Dinar (TND)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TRY&quot;&amp;gt;Turkey, Lira (TRY)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TMT&quot;&amp;gt;Turkmenistan, New Manat (TMT)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TMM&quot;&amp;gt;Turkmenistan, Manat (TMM)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Turks and Caicos Islands, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AUD&quot;&amp;gt;Tuvalu, Australia Dollar (AUD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;TVD&quot;&amp;gt;Tuvalu, Dollar (TVD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;UGX&quot;&amp;gt;Uganda, Shilling (UGX)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;UAH&quot;&amp;gt;Ukraine, Hryvna (UAH)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;AED&quot;&amp;gt;United Arab Emirates, Dirham (AED)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;GBP&quot;&amp;gt;United Kingdom, Pound (GBP)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;United States, Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;UYU&quot;&amp;gt;Uruguay, Peso (UYU)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;UZS&quot;&amp;gt;Uzbekistan, Som (UZS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;VUV&quot;&amp;gt;Vanuatu, Vatu (VUV)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;EUR&quot;&amp;gt;Vatican City, Euro (EUR)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;VEF&quot;&amp;gt;Venezuela, Bolivar Fuerte (VEF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;VND&quot;&amp;gt;Vietnam, Dong (VND)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Virgin Islands, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;USD&quot;&amp;gt;Wake Island, United States Dollar (USD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;XPF&quot;&amp;gt;Wallis and Futuna Islands, Comptoirs Français du Pacifique Franc (XPF)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ILS&quot;&amp;gt;West Bank, Israel New Shekel (ILS)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;JOD&quot;&amp;gt;West Bank, Jordan Dinar (JOD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;MAD&quot;&amp;gt;Western Sahara, Morocco Dirham (MAD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;WST&quot;&amp;gt;Samoa, Tala (WST)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;YER&quot;&amp;gt;Yemen, Rial (YER)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ZMK&quot;&amp;gt;Zambia, Kwacha (ZMK)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;option value=&quot;ZWD&quot;&amp;gt;Zimbabwe, Dollar (ZWD)&amp;lt;/option&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/select&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;submit&quot; value=&quot;Convert&quot; /&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/table&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/form&amp;gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;$action=$_REQUEST[&#39;act&#39;]; &lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;$amount=$_REQUEST[&#39;amt&#39;];&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;$countryFrom=$_REQUEST[&#39;From&#39;];&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;$countryTo=$_REQUEST[&#39;to&#39;];&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;if(isset($action)){&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;if($amount&amp;gt;0 &amp;amp;&amp;amp; is_numeric($amount)){&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;//echo &#39;in amount&#39;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;?&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;table align=&quot;center&quot; width=&quot;500px&quot; style=&quot;border:#CCCCCC solid 1px;&quot;&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;gt;&amp;lt;strong&amp;gt;Converted Amount :-&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td bgcolor=&quot;#E9E9E9&quot;&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;strong&amp;gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;getExchangeRates(&#39;&amp;lt;?=$amount?&amp;gt;&#39;,&#39;&amp;lt;?=$countryFrom?&amp;gt;&#39;,&#39;&amp;lt;?=$countryTo?&amp;gt;&#39;,&#39;true&#39;) &amp;lt;/script&amp;gt;&amp;lt;/strong&amp;gt; &amp;lt;?=$countryTo?&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/table&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;?php &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}else{&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;echo &#39;Enter Amount More Then 0&#39;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;Value Enter :-&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGEWaootwKp5Lez7PaDaCSsqAF0WxAslba7i5zFqbuxz5kqWDjThucbTqpfzCcF5OBO8JovOwCyTc7_zu6yBCP8ThhWNZBLQm7350dv7843NJnpJ-KYLm2Kqzr8GuuX9zSPRPpEvEst76V/s1600-h/currvalue.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGEWaootwKp5Lez7PaDaCSsqAF0WxAslba7i5zFqbuxz5kqWDjThucbTqpfzCcF5OBO8JovOwCyTc7_zu6yBCP8ThhWNZBLQm7350dv7843NJnpJ-KYLm2Kqzr8GuuX9zSPRPpEvEst76V/s320/currvalue.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Result:-&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlbdaUeAxU0zSJu1VQLPrp3WDkJyC6ha1FrM6DUJPxLf-UuVJX3ZWhOrFTUJZkgwUoZdogRcU0KdRwRH67CjY39IIllKXquRSofLUhLpw14yYYqaHcXUnPSSCiX8FkBMrViiDkUAus6JIm/s1600-h/currrs.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlbdaUeAxU0zSJu1VQLPrp3WDkJyC6ha1FrM6DUJPxLf-UuVJX3ZWhOrFTUJZkgwUoZdogRcU0KdRwRH67CjY39IIllKXquRSofLUhLpw14yYYqaHcXUnPSSCiX8FkBMrViiDkUAus6JIm/s320/currrs.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/5649740721551348425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/02/implement-currency-conversion-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/5649740721551348425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/5649740721551348425'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/02/implement-currency-conversion-in-php.html' title='Implement Currency conversion in php with ajax'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEPa0QGUMaFYtuWS5IdWo9wTctXvFbQqafTHoOCKrqRcwicqX0d5rgfyyn4fMGJqotZBJa_Agb5Xlhyphenhyphen-5yZxHL11xOMFztFkFC7glt1rtEg9XlSOtFUMZTd3haJ9jzodU2Q01y8TrzanUg/s72-c/curr.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-3194365246378536692</id><published>2010-01-04T03:37:00.000-08:00</published><updated>2010-01-04T03:43:18.505-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="menu"/><category scheme="http://www.blogger.com/atom/ns#" term="tab"/><title type='text'>Tab Menu in Javascript</title><content type='html'>&lt;b&gt;Implement customize tab menu in single floor and multi floor in any language using javascript&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFaALryLAOfrnu0yK5b88fto91dsQDw-Qw4FDnGltK4WKjTZgQtxMTANvOwF-AAGmLV6S0afgJMoOfRe8T5I3PsP-fiK6ZD_eY6p3lsQVpDL3hWloe2oeL5NAmtBM23xSZknJy05H-6YLz/s1600-h/default.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFaALryLAOfrnu0yK5b88fto91dsQDw-Qw4FDnGltK4WKjTZgQtxMTANvOwF-AAGmLV6S0afgJMoOfRe8T5I3PsP-fiK6ZD_eY6p3lsQVpDL3hWloe2oeL5NAmtBM23xSZknJy05H-6YLz/s320/default.PNG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;style type=&quot;text/css&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.tabHold{background-color:#bbb9b5; width:400px; height:26px; margin-left:18px; margin-top:9px; float:left;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.tabHold_1{background-color:#bbb9b5; width:400px; height:26px; margin-left:18px; margin-top:6px; float:left;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;.tabmenu{width:100px; height:21px; text-align:center; font-family:Arial; font-size:13px; padding-top:3px; color:#FFFFFF; text-decoration:none; float:left; cursor:pointer;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.tabmenu:hover{ background-color:#FFFFFF; width:100px; height:21px; text-align:center; padding-top:3px; font-family:Arial; font-size:13px; color:#000000; text-decoration:none; float:left;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.tabContent{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;color:#000000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;width:450px;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;height:100px;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;float:left;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;display:none;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;border:#CCCCCC solid 2px;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;.DefaulttabContent{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;color:#000000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;width:450px;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;height:100px;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;float:left;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;display:block;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;border:#CCCCCC solid 2px; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script language=&quot;javascript&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;function init(){&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;document.getElementById(&#39;tabmenu1&#39;).style.background=&#39;#FFFFFF&#39;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;document.getElementById(&#39;tabmenu1&#39;).style.color=&#39;#000000&#39;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;document.getElementById(&#39;tab1&#39;).style.display=&#39;block&#39;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;function onClickShow(TabNo,totTab){&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;var i=1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;for(i=1;i&amp;lt;=totTab;i++){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if(i==TabNo){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;document.getElementById(&#39;tabmenu&#39;+TabNo).style.background=&#39;#FFFFFF&#39;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;document.getElementById(&#39;tabmenu&#39;+TabNo).style.color=&#39;#000000&#39;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;document.getElementById(&#39;tab&#39;+TabNo).style.display=&#39;block&#39;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}else{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;document.getElementById(&#39;tabmenu&#39;+i).style.background=&#39;#bbb9b5&#39;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;document.getElementById(&#39;tabmenu&#39;+i).style.color=&#39;#FFFFFF&#39;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;document.getElementById(&#39;tab&#39;+i).style.display=&#39;none&#39;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;window.onload(init());&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/head&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;div style=&quot;width:450px; float:left; border:#000000 solid 2px;&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;div align=&quot;left&quot; class=&quot;tabHold&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;span class=&quot;tabmenu&quot; onclick=&quot;onClickShow(&#39;1&#39;,&#39;8&#39;)&quot; id=&quot;tabmenu1&quot;&amp;gt;Tab1&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;span class=&quot;tabmenu&quot; onclick=&quot;onClickShow(&#39;2&#39;,&#39;8&#39;)&quot; id=&quot;tabmenu2&quot;&amp;gt;Tab2&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;span class=&quot;tabmenu&quot; onclick=&quot;onClickShow(&#39;3&#39;,&#39;8&#39;)&quot; id=&quot;tabmenu3&quot;&amp;gt;Tab3&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;span class=&quot;tabmenu&quot; onclick=&quot;onClickShow(&#39;4&#39;,&#39;8&#39;)&quot; id=&quot;tabmenu4&quot;&amp;gt;Tab4&amp;lt;/span&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;div align=&quot;left&quot; class=&quot;tabHold_1&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;span class=&quot;tabmenu&quot; onclick=&quot;onClickShow(&#39;5&#39;,&#39;8&#39;)&quot; id=&quot;tabmenu5&quot;&amp;gt;Tab5&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;span class=&quot;tabmenu&quot; onclick=&quot;onClickShow(&#39;6&#39;,&#39;8&#39;)&quot; id=&quot;tabmenu6&quot;&amp;gt;Tab6&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;span class=&quot;tabmenu&quot; onclick=&quot;onClickShow(&#39;7&#39;,&#39;8&#39;)&quot; id=&quot;tabmenu7&quot;&amp;gt;Tab7&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;span class=&quot;tabmenu&quot; onclick=&quot;onClickShow(&#39;8&#39;,&#39;8&#39;)&quot; id=&quot;tabmenu8&quot;&amp;gt;Tab8&amp;lt;/span&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&quot;DefaulttabContent&quot; id=&quot;tab1&quot;&amp;gt;Text in Default Tab&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;tabContent&quot; id=&quot;tab2&quot;&amp;gt;Text in Tab2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;tabContent&quot; id=&quot;tab3&quot;&amp;gt;Text in Tab3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;tabContent&quot; id=&quot;tab4&quot;&amp;gt;Text in Tab4&amp;lt;/div&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;tabContent&quot; id=&quot;tab5&quot;&amp;gt;Text in Tab5&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;tabContent&quot; id=&quot;tab6&quot;&amp;gt;Text in Tab6&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;tabContent&quot; id=&quot;tab7&quot;&amp;gt;Text in Tab7&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;div class=&quot;tabContent&quot; id=&quot;tab8&quot;&amp;gt;Text in Tab8&amp;lt;/div&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Default page load :&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoGiNvP-ofycd23rnOQtYADrDkbIBJHUzxpFzoVOqU_YZ-bXXA1nP4BmWaBGM4uDHyFD64l6BFRS2d7O4jnFgBhTs-FuaYjjmSxC-c988xqeI3-oA8-YOu7SvlKXksa4994Mz2DlLUyAbE/s1600-h/tab1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoGiNvP-ofycd23rnOQtYADrDkbIBJHUzxpFzoVOqU_YZ-bXXA1nP4BmWaBGM4uDHyFD64l6BFRS2d7O4jnFgBhTs-FuaYjjmSxC-c988xqeI3-oA8-YOu7SvlKXksa4994Mz2DlLUyAbE/s320/tab1.PNG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b&gt;Click on other tab :&lt;/b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw7M6FxT05PlSn5mdaC-aF9VNgMRUSJfGlSeOm3u-4o2gQFu5SpDTtTWIWKAyUDuYY6k6oNZBue0qzL6UKQPbEAzs7zfFiTXRnfYzT4QuIbyAChMuyfSy4S7DpMVREyviZkvIRdgMBGZ-0/s1600-h/tab2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw7M6FxT05PlSn5mdaC-aF9VNgMRUSJfGlSeOm3u-4o2gQFu5SpDTtTWIWKAyUDuYY6k6oNZBue0qzL6UKQPbEAzs7zfFiTXRnfYzT4QuIbyAChMuyfSy4S7DpMVREyviZkvIRdgMBGZ-0/s320/tab2.PNG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/3194365246378536692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/01/tab-menu-in-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/3194365246378536692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/3194365246378536692'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2010/01/tab-menu-in-javascript.html' title='Tab Menu in Javascript'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFaALryLAOfrnu0yK5b88fto91dsQDw-Qw4FDnGltK4WKjTZgQtxMTANvOwF-AAGmLV6S0afgJMoOfRe8T5I3PsP-fiK6ZD_eY6p3lsQVpDL3hWloe2oeL5NAmtBM23xSZknJy05H-6YLz/s72-c/default.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-5189017441015960644</id><published>2009-12-25T00:06:00.000-08:00</published><updated>2011-09-26T22:14:03.964-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dayanmic pagination"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>Dayanmic Pagination in PHP</title><content type='html'>&lt;b&gt;Creating dyanamic pagination for any site or section of site with Display page rang of display page no of all pages in PHP.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Creating Following Pagination format&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example :-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_692DBYDAWBKW2Mq9kHatSKxU76TKcfze6j-q7sOy3NFqmVt_HnCUKyol6fQpM0Fjb4VD-njyFjaGojv6qRICpeMpOSDdBK6PSIfEciu2krIejQWqQ1OJiWjlAqNyuNiolzfRffPcwmcK/s1600-h/pagena1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_692DBYDAWBKW2Mq9kHatSKxU76TKcfze6j-q7sOy3NFqmVt_HnCUKyol6fQpM0Fjb4VD-njyFjaGojv6qRICpeMpOSDdBK6PSIfEciu2krIejQWqQ1OJiWjlAqNyuNiolzfRffPcwmcK/s400/pagena1.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;$strPosition=$_REQUEST[&#39;startPostion&#39;];&lt;span style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;//Record Start Position&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;if(isset($strPosition) &amp;amp;&amp;amp; $strPosition&amp;gt;=1){&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;$start=$strPosition;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;}else{&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;$start=0;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;$display=15;&lt;span style=&quot;white-space: pre;&quot;&gt;          &lt;/span&gt;//No. of record dispaly onl single page or one Page&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;$rsCount;&lt;span style=&quot;white-space: pre;&quot;&gt;           &lt;/span&gt;//No. of record fetch from recordset (database table)&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;$pages=ceil($rsCount/$display);&lt;span style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;//Calculate pages will display or get from database table&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&quot;left&quot; style=&quot;width:500px; border:#666666 solid 1px; display:block;&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Display Previous Page Button(Link) --&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&quot;left&quot; style=&quot;float:left&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;?php &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;echo $currentPage;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if($pages&amp;gt;1){ &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$currentPage=($start/$display)+1;&lt;span style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;//Current Page No. on which page is have&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$stPageNo=$currentPage-4;&lt;span style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;//Set Start Page no for page range&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$endPageNo=(($currentPage+5)&amp;lt;$pages)? $currentPage+5 : $pages; &amp;nbsp; &amp;nbsp;//Set End Page No for page range&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if($currentPage&amp;gt;=1){&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;echo &#39;&amp;lt;a href=&quot;&#39;.$_SERVER[&quot;PHP_SELF&quot;].&#39;?startPostion=&#39;.($start-$display).&#39;&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;span style=&quot;color:#FF9933; font-family:Arial, Helvetica, sans-serif; font-size:14px&quot;&amp;gt;Previous Page&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/a&amp;gt;&#39;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;?&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ex:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpVrCLPLLKXmEte5bA4kHjnrMWMHRVJOuixqQ8LqVpsO6srtMXpr63CEON_qwm4UKhOrhRBJrEMR40cq1xt_RSpbqF0Hf-IJm2qtt44NxdQZABvzpGJ5xAHrMiApL4Pk87Rsinx9F5HzwX/s1600-h/pre.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpVrCLPLLKXmEte5bA4kHjnrMWMHRVJOuixqQ8LqVpsO6srtMXpr63CEON_qwm4UKhOrhRBJrEMR40cq1xt_RSpbqF0Hf-IJm2qtt44NxdQZABvzpGJ5xAHrMiApL4Pk87Rsinx9F5HzwX/s320/pre.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;!-- List of Page No in Block Format--&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&quot;left&quot; style=&quot;float:left; padding-left:5px;&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;?php&lt;br /&gt;
&amp;nbsp;&amp;nbsp;for($i=$stPageNo;$i&amp;lt;=$endPageNo;$i++){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if($i&amp;gt;0){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if($i==$currentPage){ &lt;br /&gt;
&amp;nbsp;&amp;nbsp;echo&#39;&amp;lt;span title=&quot;Current Page&quot;&amp;gt;&#39;.$i.&#39;&amp;lt;/span&amp;gt;&#39;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}else{ &lt;br /&gt;
&amp;nbsp;&amp;nbsp;echo &#39;&amp;lt;a title=&quot;page &#39;.$i.&#39;&quot; href=&quot;&#39;.$_SERVER[&#39;PHP_SELF&#39;].&#39;?startPostion=&#39;.($display*($i-1)).&#39;&quot; class=&quot;no-underline&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;span style=&quot;color:#FF9933; font-family:Arial, Helvetica, sans-serif; font-size:14px; display:block; border:#CCCCCC solid 1px; width:15px; text-align:center;&quot;&amp;gt;&#39;.$i.&#39;&amp;amp;nbsp;&#39;.&#39;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&#39;; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;} &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;} &lt;br /&gt;
&amp;nbsp;&amp;nbsp;?&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ex:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3AqMqnpp3Un4IKgGkOKAwFJqkgxzcs1cAcFxs5QVyH6vSpulChyphenhyphenrrBYf6tDLCCiYezbTWewrMQOW2c1udR8XTxcHpHKT2rgt4eFw1pYdJw1RRmn_2zFEqyHGS78nRP3l6pbnVThRxUVeY/s1600-h/pagerange.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3AqMqnpp3Un4IKgGkOKAwFJqkgxzcs1cAcFxs5QVyH6vSpulChyphenhyphenrrBYf6tDLCCiYezbTWewrMQOW2c1udR8XTxcHpHKT2rgt4eFw1pYdJw1RRmn_2zFEqyHGS78nRP3l6pbnVThRxUVeY/s320/pagerange.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;lt;!-- Display Next Page Button(Link) --&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&quot;left&quot; style=&quot;float:right&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;?php&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if($pages&amp;gt;1){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if($currentPage!=$pages){&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;echo &#39;&amp;lt;a href=&quot;&#39;.$_SERVER[&quot;PHP_SELF&quot;].&#39;?startPostion=&#39;.($start+$display).&#39;&quot;&amp;gt;&amp;lt;span style=&quot;color:#FF9933; font-family:Arial, Helvetica, sans-serif; font-size:14px&quot;&amp;gt;Next Page&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&#39;; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;} &lt;br /&gt;
&amp;nbsp;&amp;nbsp;?&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ex:-&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFzC2XWj2wi9i3tHdjwVB9_nq2dXrf8TFuozGe_inYYqHGnBgfcymuAPBuHMpJCA7zaOn_mj6RUjk4fx9GBpmWd0VbJxfoCpK4mNEOC4Nh2M3tzLf47e3Hzb4pRZdV27eBpG3IAQu5GTFs/s1600-h/next.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFzC2XWj2wi9i3tHdjwVB9_nq2dXrf8TFuozGe_inYYqHGnBgfcymuAPBuHMpJCA7zaOn_mj6RUjk4fx9GBpmWd0VbJxfoCpK4mNEOC4Nh2M3tzLf47e3Hzb4pRZdV27eBpG3IAQu5GTFs/s320/next.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Out Put:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_692DBYDAWBKW2Mq9kHatSKxU76TKcfze6j-q7sOy3NFqmVt_HnCUKyol6fQpM0Fjb4VD-njyFjaGojv6qRICpeMpOSDdBK6PSIfEciu2krIejQWqQ1OJiWjlAqNyuNiolzfRffPcwmcK/s1600-h/pagena1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;71&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_692DBYDAWBKW2Mq9kHatSKxU76TKcfze6j-q7sOy3NFqmVt_HnCUKyol6fQpM0Fjb4VD-njyFjaGojv6qRICpeMpOSDdBK6PSIfEciu2krIejQWqQ1OJiWjlAqNyuNiolzfRffPcwmcK/s640/pagena1.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjATb9g-XCp_SLN1W-T_7vEPJDE_7PlmrsvGM6ermcWxg02sxP3tH_xTCnyTpuIWHkGOxRLRHsmB52SnJsHeLQJG4X2fvdAFqTtrC2ZcDlGuTze9Wkdrw4LHeXw3io_hL9qRgRzzW11cK_F/s1600-h/pagena2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjATb9g-XCp_SLN1W-T_7vEPJDE_7PlmrsvGM6ermcWxg02sxP3tH_xTCnyTpuIWHkGOxRLRHsmB52SnJsHeLQJG4X2fvdAFqTtrC2ZcDlGuTze9Wkdrw4LHeXw3io_hL9qRgRzzW11cK_F/s640/pagena2.jpg&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjATb9g-XCp_SLN1W-T_7vEPJDE_7PlmrsvGM6ermcWxg02sxP3tH_xTCnyTpuIWHkGOxRLRHsmB52SnJsHeLQJG4X2fvdAFqTtrC2ZcDlGuTze9Wkdrw4LHeXw3io_hL9qRgRzzW11cK_F/s1600-h/pagena2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;
&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjATb9g-XCp_SLN1W-T_7vEPJDE_7PlmrsvGM6ermcWxg02sxP3tH_xTCnyTpuIWHkGOxRLRHsmB52SnJsHeLQJG4X2fvdAFqTtrC2ZcDlGuTze9Wkdrw4LHeXw3io_hL9qRgRzzW11cK_F/s1600-h/pagena2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;
&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjATb9g-XCp_SLN1W-T_7vEPJDE_7PlmrsvGM6ermcWxg02sxP3tH_xTCnyTpuIWHkGOxRLRHsmB52SnJsHeLQJG4X2fvdAFqTtrC2ZcDlGuTze9Wkdrw4LHeXw3io_hL9qRgRzzW11cK_F/s1600-h/pagena2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/5189017441015960644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/dayanmic-pagination-in-php.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/5189017441015960644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/5189017441015960644'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/dayanmic-pagination-in-php.html' title='Dayanmic Pagination in PHP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_692DBYDAWBKW2Mq9kHatSKxU76TKcfze6j-q7sOy3NFqmVt_HnCUKyol6fQpM0Fjb4VD-njyFjaGojv6qRICpeMpOSDdBK6PSIfEciu2krIejQWqQ1OJiWjlAqNyuNiolzfRffPcwmcK/s72-c/pagena1.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-8265583469393001597</id><published>2009-12-23T01:59:00.000-08:00</published><updated>2011-09-25T07:36:32.050-07:00</updated><title type='text'>Send Mail With Attachment in php</title><content type='html'>&lt;b&gt;&amp;nbsp;If u want to send a email using php mail function with attachment a zip or any file following code will help u to send it.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;$fileatt = &quot;&quot;; // Path to the file&lt;br /&gt;
$fileatt_type = &quot;application/octet-stream&quot;; // File Type&lt;br /&gt;
$fileatt_name = &quot;&quot;; // Filename that will be used for the file as the attachment&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
$to = &lt;span style=&quot;color: red;&quot;&gt;&#39;youraddress@example.com&#39;&lt;/span&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;span style=&quot;background-color: #fff2cc;&quot;&gt;&amp;nbsp;//define the receiver of the email&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
$subject = &lt;span style=&quot;color: red;&quot;&gt;&#39;Test email with attachment&#39;&lt;/span&gt;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&amp;nbsp;//define the subject of the email&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
$random_hash = &lt;span style=&quot;color: blue;&quot;&gt;md5&lt;/span&gt;(&lt;span style=&quot;color: blue;&quot;&gt;date&lt;/span&gt;(&lt;span style=&quot;color: red;&quot;&gt;&#39;r&#39;&lt;/span&gt;, &lt;span style=&quot;color: blue;&quot;&gt;time&lt;/span&gt;())); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&amp;nbsp;//create a boundary string. It must be unique use md5 function for it.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;$random_hash = md5(date(&#39;r&#39;, time())); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //create a boundary string. It must be unique use md5 function for it.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;$mime_boundary = &quot;==Multipart_Boundary_x{$random_hash}x&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;$headers = &quot;From: support@campus100.com\r\nReply-To: support@campus100.com&quot;; &amp;nbsp; //define the headers we want passed. Note that they are separated with \r\n&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;$headers .= &quot;\nMIME-Version: 1.0\n&quot; .&lt;br /&gt;
&quot;Content-Type: multipart/mixed;\n&quot; .&lt;br /&gt;
&quot; boundary=\&quot;{$mime_boundary}\&quot;&quot;; &amp;nbsp; //add boundary string and mime type specification&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;//$headers .= &quot;Content-type: text/html\r\n&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;//read the atachment file contents into a string,&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;//encode it with MIME base64,&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;//and split it into smaller chunks&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$file = fopen($destination,&#39;rb&#39;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$data = fread($file,filesize($destination));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;fclose($file);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;$data = chunk_split(base64_encode($data));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;//define the body of the message.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;//ob_start(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Turn on output buffering&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;$fileatt_type=$_FILES[&#39;attachFile&#39;][&#39;type&#39;];&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$textTosend=&#39;.nl2br($body).&#39;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$textTosend .= &quot;This is a multi-part message in MIME format.\n\n&quot; .&lt;br /&gt;
&quot;--{$mime_boundary}\n&quot; .&lt;br /&gt;
&quot;Content-Type:text/html; charset=\&quot;iso-8859-1\&quot;\n&quot; .&lt;br /&gt;
&quot;Content-Transfer-Encoding: 7bit\n\n&quot; .&lt;br /&gt;
$textTosend . &quot;\n\n&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;$textTosend .= &quot;--{$mime_boundary}\n&quot; .&lt;br /&gt;
&quot;Content-Type: {$fileatt_type};\n&quot; .&lt;br /&gt;
&quot; name=\&quot;{$fileatt_name}\&quot;\n&quot; .&lt;br /&gt;
//&quot;Content-Disposition: attachment;\n&quot; .&lt;br /&gt;
//&quot; filename=\&quot;{$fileatt_name}\&quot;\n&quot; .&lt;br /&gt;
&quot;Content-Transfer-Encoding: base64\n\n&quot; .&lt;br /&gt;
$data. &quot;\n\n&quot; .&lt;br /&gt;
&quot;--{$mime_boundary}\n&quot;;&lt;br /&gt;
unset($data);&lt;br /&gt;
unset($file);&lt;br /&gt;
unset($destination);&lt;br /&gt;
unset($fileatt_type);&lt;br /&gt;
unset($fileatt_name);&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: blue;&quot;&gt;mail&lt;/span&gt;( $to, $subject, $message, $headers ) ){&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&quot;Mail sent&quot;&lt;/span&gt; ;&lt;br /&gt;
&lt;br /&gt;
}&lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&quot;Mail send Fail&quot;&lt;/span&gt;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/8265583469393001597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/send-mail-with-attachment-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/8265583469393001597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/8265583469393001597'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/send-mail-with-attachment-in-php.html' title='Send Mail With Attachment in php'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-220756910662229510</id><published>2009-12-21T03:43:00.000-08:00</published><updated>2009-12-21T03:47:48.726-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="image change"/><category scheme="http://www.blogger.com/atom/ns#" term="rand"/><title type='text'>change picture each time web page loads</title><content type='html'>&lt;span style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;b&gt;Image can change on web page, you know...like showing different christmas pictures when web page loads on a users computer. I want them to see a different picture each time in php page.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$file=&lt;span style=&quot;color: blue;&quot;&gt;array()&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
$file[0]=&quot;file1.gif&quot;;&lt;br /&gt;
$file[1]=&quot;file2.gif&quot;;&lt;br /&gt;
$file[2]=&quot;file3.gif&quot;;&lt;br /&gt;
$file[3]=&quot;file4.gif&quot;;&lt;br /&gt;
$file[4]=&quot;file5.gif&quot;;&lt;br /&gt;
$file[5]=&quot;file6.gif&quot;;&lt;br /&gt;
$file[6]=&quot;file7.gif&quot;;&lt;br /&gt;
$file[7]=&quot;file8.gif&quot;;&lt;br /&gt;
&lt;br /&gt;
$fileno=&lt;span style=&quot;color: blue;&quot;&gt;rand&lt;/span&gt;(0,7);&lt;br /&gt;
&lt;br /&gt;
$filename=$file[$fileno];&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;echo&lt;/span&gt; &#39;&amp;lt;img src=&quot;$filename&quot; &amp;gt;&#39;;&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/220756910662229510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/change-picture-each-time-web-page-loads.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/220756910662229510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/220756910662229510'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/change-picture-each-time-web-page-loads.html' title='change picture each time web page loads'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-8937066750458661803</id><published>2009-12-19T06:45:00.000-08:00</published><updated>2009-12-19T06:45:18.753-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="spell check"/><title type='text'>Spelling Checking in php</title><content type='html'>&lt;b&gt;Spelling Check in php. Pass checking string to function and get result in from of any error.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
function checkSpell($input)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$word=new COM(&quot;word.application&quot;) or die(&quot;Cannot create Word object&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$word-&amp;gt;Visible=false;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$word-&amp;gt;WindowState=2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$word-&amp;gt;DisplayAlerts=false;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$doc=$word-&amp;gt;Documents-&amp;gt;Add();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$doc-&amp;gt;Content=$input;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$doc-&amp;gt;CheckSpelling();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$result= $doc-&amp;gt;SpellingErrors-&amp;gt;Count;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if($result!=0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;echo &quot;Input text contains misspelled words.\n\n&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for($i=1; $i &amp;lt;= $result; $i++)&lt;br /&gt;
&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;echo &quot;Original Word: &quot; .$doc-&amp;gt;SpellingErrors[$i]-&amp;gt;Text.&quot;\n&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$list=$doc-&amp;gt;SpellingErrors[$i]-&amp;gt;GetSpellingSuggestions();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;echo &quot;Suggestions: &quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for($j=1; $j &amp;lt;= $list-&amp;gt;Count; $j++)&lt;br /&gt;
&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;$correct=$list-&amp;gt;Item($j);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;echo $correct-&amp;gt;Name.&quot;,&quot;;&lt;br /&gt;
&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;echo &quot;\n\n&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;echo &quot;No spelling mistakes found.&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$word-&amp;gt;ActiveDocument-&amp;gt;Close(false);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$word-&amp;gt;Quit();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$word-&amp;gt;Release();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$word=null;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$str=&quot;Hellu world. There is a spellling error in this sentence.&quot;;&lt;br /&gt;
SpellCheck($str);&lt;br /&gt;
?&amp;gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/8937066750458661803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/spelling-checking-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/8937066750458661803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/8937066750458661803'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/spelling-checking-in-php.html' title='Spelling Checking in php'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-8957909307847083390</id><published>2009-12-18T02:45:00.000-08:00</published><updated>2009-12-18T02:45:08.077-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>Upload video</title><content type='html'>&lt;div&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;set_time_limit(0);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;define(&#39;ffmpeg&#39;, &#39;/usr/bin/ffmpeg&#39;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;define(&#39;FFMPEG_BINARY&#39;, &#39;/usr/bin/ffmpeg&#39;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;define(&#39;FFMPEG_movie&#39;, &#39;/usr/bin/ffmpeg_movie&#39;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;define(&#39;flvtool2Path&#39;, &#39;/usr/bin/flvtool2&#39;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$submit=$_POST[&#39;submitted&#39;];&lt;span style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;//Get value form submitted Field&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$video_file=$_FILES[&#39;vfile&#39;];&lt;span style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;// Uploaded video file&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$videoTitle=$_REQUEST[&#39;vTitle&#39;];&lt;span style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;// upload file title&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if(isset($submit)){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;function getName($name){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;$type=$name;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;$type = str_replace( &#39; &#39;, &#39;_&#39;, $type );&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;return($type);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;function getImageName($name){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$occur=strrpos($name,&#39;.&#39;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;//echo $occur;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$name=substr($name,0,$occur);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;return($name);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;function getFileExtension($fileName){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$fileNameParts = explode( &quot;.&quot;, $fileName );&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$fileExtension = end( $fileNameParts );&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$fileExtension = strtolower( $fileExtension );&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;return($fileExtension);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$videoDirName=$_SERVER[&#39;DOCUMENT_ROOT&#39;].&quot;/files/video/video/&quot;;&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;//Folder name where video will save&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$videoThumDir=$_SERVER[&#39;DOCUMENT_ROOT&#39;].&quot;/files/video/thum/&quot;;&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;//folder name for where upload video cut thum will save&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$newFileName=getName(getImageName($_FILES[&#39;videoUpload&#39;][&#39;name&#39;]));&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//Get new file for video file will save with that name&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$destinationThum=$videoThumDir.getName(getImageName($_FILES[&#39;videoUpload&#39;][&#39;name&#39;])).&#39;.jpg&#39;; // complete path for save video cut thum&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;if(getFileExtension($_FILES[&#39;videoUpload&#39;][&#39;name&#39;])!=&quot;flv&quot;){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$tempUpload=$_SERVER[&#39;DOCUMENT_ROOT&#39;].&quot;/totalbhakti/files/video/temp/&quot;.$newFileName.&#39;.&#39;.getFileExtension($_FILES[&#39;videoUpload&#39;][&#39;name&#39;]);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}else{&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$tempUpload=$destinationVideo;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;function create_thumbnail($source,$destination,$thum_width,$thum_height){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;//echo $source.&#39;&amp;lt;br&amp;gt;&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$size=getimagesize($source);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;//echo $size[0];&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$width=$size[0];&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;width-&#39;.$width;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$height=$size[1];&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$x=0;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$y=0;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;/*if($width&amp;gt;$height){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$x=ceil(($width-$height)/2);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$width=$height;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}if($width&amp;lt;$height){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$x=ceil(($height-$width)/2);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$height=$width;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}*/&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;&amp;lt;br&amp;gt;&#39;.$thum_width.&#39;--&#39;.$thum_height;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$new_image=imagecreatetruecolor($thum_width,$thum_height)or die(&#39;Cannot Initialize new GD image stream&#39;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$extension=getExtension($source);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;&amp;lt;br&amp;gt;Exten:-&#39;.$extension.&#39;&amp;lt;br&amp;gt;&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;if($extension==&#39;jpg&#39;||$extension==&#39;jpeg&#39;){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$image=imagecreatefromjpeg($source);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;imagecopyresampled($new_image,$image,0,0,$x,$y,$thum_width,$thum_height,$width,$height);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;if($extension==&#39;jpg&#39;||$extension==&#39;jpeg&#39;){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;imagejpeg($new_image,$destination,40);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;function getExtension($name){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;return(&#39;jpg&#39;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;if(move_uploaded_file($_FILES[&#39;videoUpload&#39;][&#39;tmp_name&#39;],$tempUpload)){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;shell_exec(&quot;ffmpeg -i $tempUpload -ar 22050 -ab 32 -f flv -s 450×370 $destinationVideo&quot;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$img=shell_exec(&quot;ffmpeg -i $destinationVideo -f mjpeg -t 0.050 $destinationThum&quot;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;create_thumbnail($destinationThum,$destinationFirstThum,124,100);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$mov = new ffmpeg_movie($destinationVideo);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$totTime=ceil($mov-&amp;gt;getDuration());&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$fps=$mov-&amp;gt;getFrameRate();&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;&amp;lt;div style=&quot;height:150px; display:block; border:#006600 solid 2px; height:20px; background-color:#66CC99 &quot;&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Your Video Information&amp;lt;br&amp;gt;Uploaded Video Length:-&#39;.($totTime/60).&#39;&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}else{&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;not uploaded&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;if ($_FILES[&#39;videoUpload&#39;][&#39;error&#39;] &amp;gt; 0) {&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;&amp;lt;p class=&quot;error&quot;&amp;gt;The file could not be uploaded because: &amp;lt;strong&amp;gt;&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;switch ($_FILES[&#39;videoUpload&#39;][&#39;error&#39;]) {&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;case 1:&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;The file exceeds the upload_max_filesize setting in php.ini.&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;break;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;case 2:&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;The file exceeds the MAX_FILE_SIZE setting in the HTML form.&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;break;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;case 3:&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;The file was only partially uploaded.&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;break;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;case 4:&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;No file was uploaded.&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;break;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;case 6:&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;No temporary folder was available.&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;break;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;case 7:&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;Unable to write to the disk.&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;break;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;case 8:&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;File upload stopped.&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;break;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;default:&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;A system error occurred.&#39;.$_FILES[&#39;videoUpload&#39;][&#39;error&#39;];&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;break;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;echo &#39;&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;?&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;form id=&quot;form1&quot; name=&quot;form1&quot; enctype=&quot;multipart/form-data&quot; method=&quot;post&quot; action=&quot;&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;table width=&quot;688&quot; border=&quot;1&quot; align=&quot;center&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot;&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;td width=&quot;300&quot;&amp;gt;&amp;lt;div align=&quot;left&quot;&amp;gt;&amp;lt;strong&amp;gt;Select Video for Upload &amp;lt;/strong&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;td width=&quot;196&quot;&amp;gt;&amp;lt;div align=&quot;center&quot;&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;label&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;input name=&quot;vfile&quot; type=&quot;file&quot; id=&quot;vfile&quot; /&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;input name=&quot;submitted&quot; type=&quot;hidden&quot; id=&quot;submitted&quot; value=&quot;true&quot; /&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/label&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;td&amp;gt;&amp;lt;div align=&quot;left&quot;&amp;gt;&amp;lt;strong&amp;gt;Enter Title for Video &amp;lt;/strong&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;label&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;input name=&quot;vTitle&quot; type=&quot;text&quot; id=&quot;vTitle&quot; size=&quot;40&quot; /&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/label&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;label&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;Submit&quot; /&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/label&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/8957909307847083390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/upload-video.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/8957909307847083390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/8957909307847083390'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/upload-video.html' title='Upload video'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-179983805925090507</id><published>2009-12-17T03:09:00.000-08:00</published><updated>2009-12-18T02:42:36.333-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="text search"/><title type='text'>Fetch Record form search string in php</title><content type='html'>&lt;b&gt;fetch unique &amp;nbsp;row set passing query sting as parameter and search by its all word of string one by one merge all record and find unique row set and display them.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
$dbc=mysql_query(&#39;host&#39;,&#39;username&#39;,&#39;pass&#39;);&lt;br /&gt;
mysql_select_db(&#39;databasename&#39;,$dbc);&lt;br /&gt;
&lt;br /&gt;
$getTag=$_REQUEST[&#39;tags&#39;]; &amp;nbsp;//searching string&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;br /&gt;
$arrFirst=array();&lt;br /&gt;
$arrSecond=array();&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;&lt;br /&gt;
$queryExecute=&quot;select * from music where name like(&#39;%&quot;.$getTag.&quot;%&#39;) and status=&#39;y&#39; or singer like(&#39;%&quot;.$getTag.&quot;%&#39;) and status=&#39;y&#39; or language like(&#39;%&quot;.$getTag.&quot;%&#39;) and status=&#39;y&#39; or main_cate like(&#39;%&quot;.$getTag.&quot;%&#39;) and status=&#39;y&#39; or genure like(&#39;%&quot;.$getTag.&quot;%&#39;) and status=&#39;y&#39; or placename like(&#39;%&quot;.$getTag.&quot;%&#39;) and status=&#39;y&#39; or other_tag like (&#39;%&quot;.$getTag.&quot;%&#39;) and status=&#39;y&#39;&quot;;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
$queryResult=mysql_query($queryExecute,$dbc);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;br /&gt;
while($row=mysql_fetch_array($queryResult)){&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;$arrFirst=array_merge($arrFirst,array($row[0]));&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;&lt;br /&gt;
}&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;           &lt;/span&gt;&lt;br /&gt;
$findKeyTag=explode(&quot; &quot;,$getTag);&lt;br /&gt;
&lt;br /&gt;
for($i=0;$i&lt;count($findkeytag);$i++){&gt;&lt;/count($findkeytag);$i++){&gt;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$executequery=&quot;select * from music where name like(&#39;%&quot;.$findKeyTag[$i].&quot;%&#39;) and status=&#39;y&#39; or language=&#39;$findKeyTag[$i]&#39; and status=&#39;y&#39; or main_cate=&#39;$findKeyTag[$i]&#39; and status=&#39;y&#39; or guru=&#39;$findKeyTag[$i]&#39; and status=&#39;y&#39; or genure=&#39;$findKeyTag[$i]&#39; and status=&#39;y&#39; or lordname=&#39;$findKeyTag[$i]&#39; and status=&#39;y&#39; or other_tag like(&#39;%&quot;.$findKeyTag[$i].&quot;%&#39;) and status=&#39;y&#39;&quot;;&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;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$result=mysql_query($executequery,$dbc);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;while($row=mysql_fetch_array($result)){&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;$arrSecond=array_merge($arrSecond,array($row[0]));&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;}&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;&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;$arrFinal1=array();&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;$arrFinal=array_unique(array_merge($arrFirst,$arrSecond));&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;$rsCount=count($arrFinal);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for($i=0;$i&amp;lt;$rsCount;$i++){&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;$arrFinal1=array_unique(array_merge($arrFinal1,$arrFinal));&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;}&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;if($rsCount&amp;gt;$display){&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;$pages=ceil($rsCount/$display);&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;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}else{&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;$pages=1;&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;&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;showRecord1($arrFinal1,$getTag,$dbc,$startNo);&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;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
function showRecord1($arr,$tag,$dbc,$start,$userId,$url){&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;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$totalRecord=count($arr);&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for($i=$start;$i&amp;lt;$start+10;$i++){&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;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if($arr[$i]==&quot;&quot;||!$arr[$i]){&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;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;break;&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;&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;$q=&quot;select * from music where id=$arr[$i]&quot;;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$result=mysql_query($q,$dbc);&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;while($row3=mysql_fetch_array($result)){&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;echo $row[&quot;id&quot;];&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;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&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;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/179983805925090507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/fetch-record-form-search-string-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/179983805925090507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/179983805925090507'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/fetch-record-form-search-string-in-php.html' title='Fetch Record form search string in php'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-4084761790813429066</id><published>2009-12-15T05:07:00.000-08:00</published><updated>2009-12-18T02:43:07.560-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="navigation"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>Navigation Using Mysql Query in php</title><content type='html'>&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;div&gt;&lt;b&gt;If u want to navigate record without passing id array or other value sting following code will help u to move forward and backword on basis of present display id.&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;div&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;?php&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$selPre=&quot;select id from table where id&amp;lt;$imgId &amp;nbsp;and status=&#39;Yes&#39; order by id Desc&quot;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$preRs=mysql_query($selPre,$dbc)or die(&#39;error in previous id : &#39;.mysql_error());&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$preId=mysql_fetch_array($preRs);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;if(mysql_num_rows($preRs)&amp;gt;0){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;?&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;lt;a title=&quot;Previous&quot; href=&quot;Selffilename.php?Id=&amp;lt;?php echo $preId[&quot;id&quot;];?&amp;gt;&quot; class=&quot;no-underline&quot;&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;span style=&quot;color: rgb(105, 105, 105); font-weight: bold;&quot;&amp;gt;PREVIOUS&amp;lt;/span&amp;gt; &lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;span class=&quot;paginate-first&quot;&amp;gt;&amp;amp;lt;&amp;amp;lt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;div align=&quot;right&quot; style=&quot;width:50%; float:left&quot;&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;?php&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$selNxt=&quot;select id from table where id&amp;gt;$Id and status=&#39;Yes&#39; order by id ASC&quot;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$NxtRs=mysql_query($selNxt,$dbc)or die(&#39;error in previous id : &#39;.mysql_error());&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$nxtId=mysql_fetch_array($NxtRs);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;if(mysql_num_rows($NxtRs)&amp;gt;0){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;?&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;a title=&quot;Last Page&quot; href=&quot;Selffilename.php?Id=&amp;lt;?php echo $nxtId[&quot;id&quot;];?&amp;gt;&quot; class=&quot;no-underline&quot;&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;span class=&quot;paginate-last&quot;&amp;gt;&amp;amp;gt;&amp;amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;span style=&quot;color: rgb(105, 105, 105); font-weight: bold;&quot;&amp;gt;NEXT&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;?php&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;}?&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/4084761790813429066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/navigation-using-mysql-query-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/4084761790813429066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/4084761790813429066'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/navigation-using-mysql-query-in-php.html' title='Navigation Using Mysql Query in php'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-124667718197450668</id><published>2009-12-13T23:24:00.000-08:00</published><updated>2009-12-18T02:44:08.306-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="edit record"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>Fetch record in table format using Ajax,PHP</title><content type='html'>&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;div&gt;&lt;b&gt;This is example for fetch email address group by and count them and display every result in table format. this example is apply for all type of fetching record in display in table format using ajax and php.&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;//************************** Server site fetchEmail.php for fetch record and return in table format******************&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt; &amp;lt;?php&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;header(&quot;Cache-Control: no-cache, must-revalidate&quot; ); &lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;header(&quot;Pragma: no-cache&quot; );&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;header(&quot;Content-Type: text/html; charset=utf-8&quot;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;$dbc=mysql_connect(HOSTNAME,USERNAME,PASSWORD) or die(&#39;There is error to connect to server:-&#39;.mysqli_connect_error());&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$db_selected = mysql_select_db(DATABASE,$dbc);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$groupName=$_GET[&#39;group&#39;];&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;function emailCount($emailId){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$EmailArray=explode(&quot;,&quot;,$emailId);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$totemail=count($EmailArray);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;return($totemail);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;function format($txt){&lt;span style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;//Function for RIght syntex for html format&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$txt=str_replace(&#39;,&#39;,&#39;&amp;lt;br&amp;gt;&#39;,$txt);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;return($txt);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$selectGroupRS=&quot;select group_name,emailId from emailgroup where group_name=&#39;$groupName&#39; &amp;nbsp;&quot;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$result1=mysql_query($selectGroupRS,$dbc) or die(&#39;error in group:-&#39;.mysql_error());&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;echo&quot;&amp;lt;table width=\&quot;90%\&quot; cellpadding=\&quot;0\&quot; cellspacing=\&quot;0\&quot; border=\&quot;1\&quot;&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td width=\&quot;15%\&quot; align=\&quot;center\&quot;&amp;gt;&amp;lt;strong&amp;gt;Group Name&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td align=\&quot;center\&quot;&amp;gt;&amp;lt;strong&amp;gt;Email Id&#39;s&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;td align=\&quot;center\&quot;&amp;gt;&amp;lt;strong&amp;gt;Count of Email Id&#39;s&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&quot;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;while($row1=mysql_fetch_row($result1)){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$name=$row1[0];&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$email.=&#39;,&#39;.$row1[1];&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;echo&quot; &lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&quot;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;echo &quot;&amp;lt;td align=\&quot;center\&quot;&amp;gt;&quot;.$name.&quot;&amp;lt;/td&amp;gt;&quot;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;echo &quot;&amp;lt;td &amp;gt;&amp;lt;div style=\&quot;height:300px; overflow:scroll\&quot;&amp;gt;&quot;.format($email).&quot;&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&quot;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;echo &quot;&amp;lt;td align=\&quot;center\&quot;&amp;gt;&quot;.emailCount($email).&quot;&amp;lt;/td&amp;gt;&quot;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;echo&quot;&amp;lt;/tr&amp;gt;&quot;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;echo &quot;&amp;lt;/table&amp;gt;&quot;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;?&amp;gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;//****************************** End of fetchEmail.php***************************************************************&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;//************************Php file where record display****************************************&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;script language=&quot;javascript&quot;&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;function getXmlHttpRequestObject(){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;//alert(&#39;in xmlhttp&#39;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;if(window.XMLHttpRequest){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;return new XMLHttpRequest();&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;}else if(window.ActiveXObject){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;}else {&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;alert(&quot;Your Browser Sucks!\nIt&#39;s about time to upgrade don&#39;t you think?&quot;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;var searchemail = getXmlHttpRequestObject();&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;function searchResult(){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;//alert(&#39;on search&#39;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;//alert(&#39;in search&#39;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;var groupName=escape(document.getElementById(&#39;searchgroup&#39;).value);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;//alert(groupName);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;searchemail.open(&quot;GET&quot;,&#39;fetchEmail.php?group=&#39; + groupName,true);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;searchemail.onreadystatechange=SearchEmailHandler;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;searchemail.send(null);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;function SearchEmailHandler(){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;if(searchemail.readyState==4 || searchemail.readyState==&quot;complete&quot;){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;//alert(&#39;in hand&#39;);&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;document.getElementById(&#39;fetchId&#39;).innerHTML=searchemail.responseText;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;strong&amp;gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;List of All group with Email Id&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;select id=&quot;searchgroup&quot;&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;?php&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$dbc=mysql_connect(HOSTNAME,USERNAME,PASSWORD) or die(&#39;There is error to connect to server:-&#39;.mysqli_connect_error());&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$db_selected = mysql_select_db(DATABASE,$dbc); &lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$selectGroup=&quot;select group_name from emailgroup group by group_name&quot;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;$result=mysql_query($selectGroup,$dbc) or die(&#39;error in group:-&#39;.mysql_error());&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;while($row=mysql_fetch_row($result)){&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;echo&#39;&amp;lt;option&amp;gt;&#39;.$row[0].&#39;&amp;lt;/option&amp;gt;&#39;;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;?&amp;gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;lt;/select&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;input &amp;nbsp;type=&quot;button&quot; value=&quot;search&quot; onclick=&quot;searchResult();&quot; /&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;div id=&quot;fetchId&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;//************************Php File End*************************************************** &lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/124667718197450668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/fetch-record-in-table-format-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/124667718197450668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/124667718197450668'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/fetch-record-in-table-format-using.html' title='Fetch record in table format using Ajax,PHP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-3014038581831025537</id><published>2009-12-12T04:25:00.000-08:00</published><updated>2009-12-18T02:43:27.237-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="edit record"/><title type='text'>Edit record using ajax</title><content type='html'>&lt;b&gt;&lt;/b&gt;&lt;b&gt;If u need ajax for edit your display record. it display all record in table row column format that will save (edit) by sending data using ajax javascript function to server php file and get response from server of fail and success and intimate user about the server response.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt; //****************************************&amp;nbsp;&amp;nbsp; Edit ajax file ****************************************&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;$dbc=mysql_connect(&#39;localhost&#39;,&#39;root&#39;,&#39;&#39;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; mysql_select_db(&#39;databasename&#39;,$dbc);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $do = $_REQUEST[&#39;do&#39;];&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $cateId = $_REQUEST[&#39;cateId&#39;];&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; switch($do) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; case &#39;edit&#39;: &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $newTitle=$_REQUEST[&#39;ptitle&#39;];&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $newDesc=$_REQUEST[&#39;pDesc&#39;];&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $photoId=$_REQUEST[&#39;Id&#39;];&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; if(get_magic_quotes_gpc()) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $photoId = $photoId;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $newTitle=$newTitle;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $newDesc=$newDesc;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }else{&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $photoId = addslashes($photoId);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $newTitle = addslashes($newTitle);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $newDesc = addslashes($newDesc);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $updatPhoto=&quot;update photo_gallery set title=&#39;$newTitle&#39;,description=&#39;$newDesc&#39; where id=$photoId&quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; if(mysql_query($updatPhoto,$dbc)or die(&#39;Error in update : &#39;.mysql_error())){&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; header(&#39;Content-Type: text/xml&#39;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; header(&#39;Pragma: no-cache&#39;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; echo &#39;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; echo &#39;&amp;lt;result&amp;gt;&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; echo &#39;true&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; echo &#39;&amp;lt;/result&amp;gt;&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }else{&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; header(&#39;Content-Type: text/xml&#39;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; header(&#39;Pragma: no-cache&#39;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; echo &#39;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; echo &#39;&amp;lt;result&amp;gt;&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; echo &#39;false&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; echo &#39;&amp;lt;/result&amp;gt;&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; break;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; default:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; echo &#39;Error, invalid action&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; break;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; ?&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;//***************************************AJax file end*************************************************&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;//*********************** Edit html File Start ***********************************************&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #d0e0e3;&quot;&gt;// *************************Ajax call function start***************************************&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
function editPhotoDetail(Id){&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; if (window.XMLHttpRequest) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; http = new XMLHttpRequest();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }else if (window.ActiveXObject) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; http = new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; var handle = Id;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; var url = &#39;ajax.php?&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; //alert(handle);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; var newtitle=document.getElementById(&#39;title&#39;+handle).value;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; var newDesc=document.getElementById(&#39;desc&#39;+handle).value;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; //alert(&#39;title : &#39; + newtitle+&#39;&amp;nbsp;&amp;nbsp; &#39;+photoId&amp;nbsp; );&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; // alert(&#39;Desc : &#39; + newDesc);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; if(handle &amp;gt; 0) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; //alert(&#39;call statechange&#39;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; var fullurl = url + &#39;do=edit&amp;amp;Id=&#39; + encodeURIComponent(handle)+&#39;&amp;amp;ptitle=&#39; + encodeURIComponent(newtitle) + &#39;&amp;amp;pDesc=&#39; + encodeURIComponent(newDesc);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; http.open(&quot;POST&quot;, fullurl, true);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; http.send(null);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; http.onreadystatechange = statechange_detailchange(handle); &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; } &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function statechange_detailchange(handle) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; //alert(&#39;in statechange&#39;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; if (http.readyState == 4) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; var xmlObj = http.responseXML;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; var rs = xmlObj.getElementsByTagName(&#39;result&#39;).item(0).firstChild.data;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(&#39;RS &#39;+rs);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; if(rs==&quot;true&quot;){&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField = document.getElementById(&#39;msgbox&#39;+handle);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField.innerHTML = &quot;Photo Record Successfully Update&quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField.style.visibility=&#39;visible&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField.style.border=&#39;#339900&amp;nbsp; solid 1px&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField.style.background=&#39;#FBE3E4&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField.style.color=&#39;#339900&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField.style.fontSize=&#39;12px&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }else{&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField = document.getElementById(&#39;msgbox&#39;+handle);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField.innerHTML = &quot;Photo Record Update Fail.&quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField.style.visibility=&#39;visible&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField.style.border=&#39;#FF3333 solid 1px&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField.style.background=&#39;#C9FFCA&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField.style.color=&#39;#8a1f11&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; errorField.style.fontSize=&#39;12px&#39;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; } &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//*********************************Ajax call function end*********************************&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;//********************************Record fetch from database and display for edit&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $selRec=&quot;select * from table&quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; $rsRec=mysql_query($selRec,$dbc);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; while($row=mysql_fetch_array($rsRec)){&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;input type=&quot;radio&quot; name=&quot;coverId&quot; value=&quot;&amp;lt;?php echo $newId;?&amp;gt;&quot; onclick=&quot;setId(&amp;lt;?php echo $newId;?&amp;gt;)&quot;/&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;td height=&quot;170px&quot; width=&quot;190px&quot; valign=&quot;middle&quot; align=&quot;center&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;span id=&quot;msgbox&amp;lt;?php echo $row[&quot;id&quot;];?&amp;gt;&quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;td valign=&quot;top&quot;&amp;gt;&amp;lt;input type=&quot;text&quot; size=&quot;30&quot; name=&quot;title&amp;lt;?php echo $row[&quot;id&quot;];?&amp;gt;&quot; id=&quot;title&amp;lt;?php echo $row[&quot;id&quot;];?&amp;gt;&quot; value=&quot;&amp;lt;?php echo $row[&quot;title&quot;];?&amp;gt;&quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;td valign=&quot;top&quot;&amp;gt;&amp;lt;textarea name=&quot;desc&amp;lt;?php echo $newId;?&amp;gt;&quot; id=&quot;desc&amp;lt;?php echo $row[&quot;id&quot;];?&amp;gt;&quot; rows=7&amp;gt;&amp;lt;?php echo $row[&quot;descs&quot;];?&amp;gt;&amp;lt;/textarea&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;td align=&quot;center&quot;&amp;gt;&amp;lt;a onclick=&quot;editDetail(&amp;lt;?php echo $row[&quot;id&quot;];?&amp;gt;)&quot;&amp;gt;&amp;lt;span style=&quot;color:#003300; background-color:#C4FFE1; font-family:Arial, Helvetica, sans-serif; font-size:14px;&quot;&amp;gt;Edit&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; }?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;//*****************************Html file end***************************************&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/3014038581831025537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/edit-record-using-ajax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/3014038581831025537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/3014038581831025537'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/edit-record-using-ajax.html' title='Edit record using ajax'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-1886107088787901988</id><published>2009-12-11T05:45:00.000-08:00</published><updated>2009-12-11T05:45:09.759-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cantact us"/><category scheme="http://www.blogger.com/atom/ns#" term="mail"/><title type='text'>Create Contact Us form for website</title><content type='html'>&lt;b&gt;Create Contact us form where any request fill by any site visitor and all information will send to a site admin Email Id automatically by mail function.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$mailto = &#39;destination email id&#39; ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$formurl = &quot;from email id&quot; ;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fff2cc;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
// -------------------- END OF CONFIGURABLE SECTION ---------------&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$subject = $_POST[&#39;thesubject&#39;] ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$message = $_POST[&#39;themessage&#39;] ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$name = $_POST[&#39;name&#39;] ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$address = $_POST[&#39;address&#39;] ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$city = $_POST[&#39;city&#39;] ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$state = $_POST[&#39;state&#39;] ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$postalcode = $_POST[&#39;postalcode&#39;] ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$country = $_POST[&#39;country&#39;] ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$email = $_POST[&#39;email&#39;] ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$phone = $_POST[&#39;phone&#39;] ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$phone1 = $_POST[&#39;phone1&#39;] ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$http_referrer = getenv( &quot;HTTP_REFERER&quot; );&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if (!isset($_POST[&#39;email&#39;])) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;header( &quot;Location: $formurl&quot; );&lt;br /&gt;
&amp;nbsp;&amp;nbsp;exit ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$thankyouurl=&#39;thanx.php&#39;;//page where redirect after mail contact form successfully&lt;br /&gt;
&amp;nbsp;&amp;nbsp;$messageproper =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&quot;This message was sent from:\n&quot; .&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&quot;$http_referrer\n&quot; .&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&quot;------------------------- COMMENTS -------------------------\n\n&quot; .&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&quot; Subjet : $thesubject\n\n Message : $themessage\n\n Name : $name\n Address : $address\n City :$city\n State : $state\n Postal Code: $postalcode\n\n Phone : $phone, $phone1\n Country : $country\n\n Email : $email\n&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&quot;\n\n------------------------------------------------------------\n&quot; ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mail($mailto, $subject, $messageproper, &quot;From: \&quot;$Name\&quot; &amp;lt;$email&amp;gt;\nReply-To: \&quot;$name\&quot; &amp;lt;$email&amp;gt;\nX-Mailer: chfeedback.php 2.01&quot; );&lt;br /&gt;
&amp;nbsp;&amp;nbsp;header( &quot;Location: $thankyouurl&quot; );&lt;br /&gt;
&amp;nbsp;&amp;nbsp;exit ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;form id=&quot;form1&quot; method=&quot;post&quot; action=&quot;mailSend.php&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;table border=&quot;0&quot; cellspacing=&quot;5&quot; style=&quot;width: 397px&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td colspan=&quot;2&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;h3&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Send a Enquiry&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td style=&quot;padding-top: 10px&quot; width=&quot;95&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td style=&quot;padding-top: 10px&quot; width=&quot;283&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; id=&quot;ToEMail&quot; name=&quot;ToEMail&quot; value=&quot;contact@victoriamortgagebrokers.com.au&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;hidden&quot; id=&quot;thanksPage&quot; name=&quot;thanksPage&quot; value=&quot;http://victoriamortgagebrokers.com.au/Thanks.html&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;95&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Name&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;283&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;text&quot; id=&quot;txtName&quot; name=&quot;txtName&quot; style=&quot;width: 283px&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;95&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Contact No.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;283&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;text&quot; id=&quot;txtPhone&quot; name=&quot;txtPhone&quot; style=&quot;width: 283px&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;95&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;e-mail ID&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;283&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;text&quot; id=&quot;txtEmail&quot; name=&quot;txtEmail&quot; style=&quot;width: 283px&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;95&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Suburb.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;283&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;text&quot; id=&quot;txtsuburb&quot; name=&quot;txtSuburb&quot; style=&quot;width: 283px&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;95&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Post Code&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;283&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;text&quot; id=&quot;txtpostCode&quot; name=&quot;txtPostCode&quot; style=&quot;width: 283px&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;95&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Home Telephone&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;283&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;text&quot; id=&quot;txtHomePhone&quot; name=&quot;txtHomePhone&quot; style=&quot;width: 283px&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;95&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Office Telephone&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;283&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;text&quot; id=&quot;txtofficePhone&quot; name=&quot;txtOfficePhone&quot; style=&quot;width: 283px&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;95&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Mobile&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;283&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;text&quot; id=&quot;txtmobile&quot; name=&quot;txtmobile&quot; style=&quot;width: 283px&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;95&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Looking For&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;283&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input type=&quot;text&quot; id=&quot;txtlookingfor&quot; name=&quot;txtlookingfor&quot; style=&quot;width: 283px&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td valign=&quot;top&quot; width=&quot;95&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Comments&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;283&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;textarea id=&quot;txtComments&quot; name=&quot;txtComments&quot; style=&quot;width: 283px; height: 91px&quot;&amp;gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td width=&quot;95&quot;&amp;gt;&amp;amp;nbsp;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;td align=&quot;right&quot; style=&quot;padding-right: 25px&quot; width=&quot;259&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;input id=&quot;Button1&quot; type=&quot;submit&quot; value=&quot;Send&quot; /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/1886107088787901988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/create-contact-us-form-for-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/1886107088787901988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/1886107088787901988'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/create-contact-us-form-for-website.html' title='Create Contact Us form for website'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8893719012839788998.post-4986484706977467528</id><published>2009-12-10T06:31:00.000-08:00</published><updated>2009-12-10T06:31:40.910-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="video duration"/><title type='text'>Get video duration without ffmpeg function</title><content type='html'>&lt;b&gt;If we need to get video duration in php if server not support ffmepg function than use following code to get duration.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;ob_start();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;passthru(&quot;ffmpeg -i &quot;.$videoName.&quot; 2&amp;gt;&amp;amp;1&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$duration = ob_get_contents();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;ob_end_clean();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$search=&#39;/Duration: (.*?)[.]/&#39;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$duration=preg_match($search, $duration, $matches, PREG_OFFSET_CAPTURE);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$duration = $matches[1][0];&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;list($hours, $mins, $secs) = split(&#39;[:]&#39;, $duration);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;echo &quot;Hours: &quot;.$hours.&quot; Minutes: &quot;.$mins.&quot; Seconds: &quot;.$secs;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$duration=$mins.&#39;:&#39;.$secs;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensourceprogrammer.blogspot.com/feeds/4986484706977467528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/get-video-duration-without-ffmpeg.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/4986484706977467528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8893719012839788998/posts/default/4986484706977467528'/><link rel='alternate' type='text/html' href='http://opensourceprogrammer.blogspot.com/2009/12/get-video-duration-without-ffmpeg.html' title='Get video duration without ffmpeg function'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/18180017079282279549</uri><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><thr:total>0</thr:total></entry></feed>