{"id":1222,"date":"2018-01-19T19:22:34","date_gmt":"2018-01-19T19:22:34","guid":{"rendered":"http:\/\/goofy-trucks.flywheelsites.com\/php-helper\/"},"modified":"2018-01-19T19:24:37","modified_gmt":"2018-01-19T19:24:37","slug":"php-helper","status":"publish","type":"post","link":"https:\/\/phpbuilder.com\/php-helper\/","title":{"rendered":"PHP Helper"},"content":{"rendered":"<div class=\"phpbuilder-content\">\n<div class=\"phpbuilder-meta\">\n<div class=\"\">By Brett Patterson<\/div>\n<div class=\"\">on June 27, 2005<\/div>\n<\/p><\/div>\n<div id=\"overflow-content\">\n<style type=\"text\/css\"><![CDATA[<!--\na,\na:link,\na:visited\n{\n\ttext-decoration: none;\n}\na:hover,\na:active\n{\n\tcolor: #fff;\n\ttext-decoration: underline;\n\tbackground: #6495ed;\n}\n\ndiv.index\n{\n\twidth: auto;\n\tpadding: 2px 5px;\n\tmargin: 0;\n\tborder: 1px solid #000;\n}\n\nul\n{\n\tpadding: 0;\n\tmargin: 0;\n\tlist-style: none;\n}\n\nul li\n{\n\tfont-weight: bold;\n\tpadding: 0;\n\tmargin: 0;\n}\nul li a,\nul li a:link,\nul li a:visited\n{\n\twidth: auto;\n\tpadding: 0 0 0 10px;\n\tmargin: 0;\n\ttext-decoration: none;\n\tfont-weight: normal;\n}\nul li a:hover,\nul li a:active\n{\n\tbackground: #436eee;\n\tpadding: 0 0 0 10px;\n\tmargin: 0;\n\ttext-decoration: none;\n}\ndiv.index:first-line\n{\n\tfont: normal normal bold 12pt arial, 'lucida console', sans-serif;\n\tcolor: #090;\n\tborder-bottom: 1px solid #000;\n}\n\np.main\n{\n\ttext-align: left;\n\tmargin: 5px 0 20px 0;\n\tpadding: 2px;\n}\n\/*\nCode styling:\nBlue first-line with bold code,\nMonospaced code with line-breaks\n*\/\np.code\n{\n   border: 1px solid #000;\n   background-color: #abd;\n   font: normal normal bold 8pt arial, 'lucida console', sans-serif;\n   margin: 0;\n   padding: 2px 3px 0;\n}\ncode\n{\n   font: normal normal normal 10pt courier, monospace;\n   padding: 5px;\n   margin: 0 -3px;\n   white-space: pre;\n   background-color: #fff;\n}\n\nspan.comment\n{\n\tcolor: #090;\n}\n\nspan.string\n{\n\tcolor: #f0f;\n}\n\nspan.reserved\n{\n\tcolor: #0000cd;\n}\n\nspan.defined\n{\n\tcolor: #f00;\n}\n\nspan.var\n{\n\tcolor: #008b8b;\n}\n\np.next\n{\n\tfloat: right;\n}\np.prev\n{\n\tfloat: left;\n}\n-->]]><\/style>\n<\/p>\n<h2>Introduction<\/h2>\n<div class=\"articlePara\">This being the first of the New Guy&#8217;s &#8220;PHP Helper&#8221;, I would like to discuss some topics that are frequently requested around the PHPBuilder.com <a href=\"..\/forum\/index.html\">discussion forum<\/a>.  I will also be explaining some common errors on a very <em>basic<\/em> level.  With each article posted you will see that the list of common problems and errors keeps growing, and we&#8217;ll attempt to help you solve these potential problems as we go along.<\/div>\n<div class=\"articlePara\">If you don&#8217;t know me, allow me to introduce myself&#8211;I am but a simple helper on the PHP Builder forums.  While I don&#8217;t know everything, I will be sure to help you out even if it means I have to learn something new myself.  We are all here to learn, and I hope that as you learn, so will I.  I hope this series will help you&#8211;the novice PHP programmer&#8211;learn to use PHP productively.<\/div>\n<div class=\"articlePara\">With each article, an index will be available on the first page which outlines what issues will be discussed in the article.  If you would like to suggest an issue for a future article, feel free to contact me at: bpwebman (at) gmail (dot) com.  So with no further ado, the first article.<\/div>\n<h2>Index of Issues<\/h2>\n<div class=\"index\">\n<ul>\n<li>Introduction<\/li>\n<li><a href=\"patterson20050620_2.html\">MySQL Error: Not a valid result resource<\/a><\/li>\n<li><a href=\"patterson20050620_3.html\">Forms &amp; Submission<\/a><\/li>\n<li><a href=\"patterson20050620_4.html\">Sorting Arrays<\/a><\/li>\n<li><a href=\"patterson20050620_5.html\">Dynamic Table Column Creation<\/a><\/li>\n<\/ul>\n<\/div>\n<\/div>\n<p><\/p>\n<div style=\"float: left; padding:15px; color:#17AAF3\">\n<div style=\"background-color:#B6E5FC; font-size:16px; margin-top:1px; padding:1px 4px 1px 4px; color:#000; font-style:bold; float:left;\">1<\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"patterson20050620_2.html\">2<\/a> <\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"patterson20050620_3.html\">3<\/a> <\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"patterson20050620_4.html\">4<\/a> <\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"patterson20050620_5.html\">5<\/a> <\/div>\n<div style=\"float:left; padding:2px;\"><a class=\"paginationPageLink\" href=\"patterson20050620_2.html\">Next Page \u00bb<\/a><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This being the first in our New Guy&#8217;s PHP Helper series, author Brett Patterson discusses some of the topics that are frequently mentioned at the<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1222","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts\/1222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/comments?post=1222"}],"version-history":[{"count":1,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts\/1222\/revisions"}],"predecessor-version":[{"id":3124,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts\/1222\/revisions\/3124"}],"wp:attachment":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/media?parent=1222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/categories?post=1222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/tags?post=1222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}