What is PHP?
PHP Hypertext Processor. Language is processed in the form of a script server server the result is sent to the client, where the user using the browser.
*
PHP based script as a tag in HTML language
</font> <font class="hps">Exercise</font> <font class="hps">First</font> <font class="hps atn"><</font><font>/</font><font>></font><br> <font class="hps"><body></font><br> <font class="hps">Congratulations</font> <font class="hps">Learning</font> <font class="hps">Yes</font><font>.</font> <font class="hps"><br></font><br> <font class="hps atn"><</font><font>?</font> <font class="hps">php</font><br> <font class="hps">Printf</font> <font class="hps atn">(</font><font class="hps atn">"</font><font>welcome"</font><font>)</font><font>;</font><br> <font class="hps">?</font><font>></font><br> <font class="hps atn"><</font><font>/</font> <font class="hps">body></font><br> <font class="hps atn"><</font><font>/</font> <font class="hps">html</font><font>></font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font> </font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font>*</font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class="hps">the concept of working</font> <font class="hps">PHP</font><br> <font class="hps">in principle</font> <font class="hps">the concept of</font> <font class="hps">PHP</font> <font class="hps">work</font> <font class="hps">together</font> <font class="hps">with</font> <font class="hps">HTML</font> <font class="hps">code</font><font>.</font><br> <font class="hps">The only difference</font> <font class="hps">is</font> <font class="hps">that the file was</font> <font class="hps">generated by the</font> <font class="hps">web</font> <font class="hps">server</font> <font class="hps">will be sent</font> <font class="hps">to the</font> <font class="hps">PHP</font> <font class="hps">engine</font> <font class="hps">and the</font> <font class="hps">engine</font> <font class="hps">is</font> <font class="hps">a</font> <font class="hps">process and</font> <font class="hps">provide</font> <font class="hps">the results</font> <font class="hps">of</font> <font class="hps">HTML</font> <font class="hps">code</font> <font class="hps">to your web</font> <font class="hps">server</font><font class="">, then</font> <font class="hps">forwarded</font> <font class="hps">to the client</font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class="hps"> </font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class="hps">SOME</font> <font class="hps">TYPES</font> <font class="hps">OF</font> <font class="hps">COMMONLY USED</font> <font class="hps">IN THE</font> <font class="hps">APPLICATION</font> <font class="hps">AND</font> <font class="hps">DATABASE</font> <font class="hps">PHP</font><br><br> <font class="hps">InterBase</font><br> <font class="hps">Microsoft</font> <font class="hps">Access</font><br> <font class="hps">mSQL</font><br> <font class="hps">MySQL</font><br> <font class="hps">Oracle</font><br> <font class="hps">PostgreSQL</font><br> <font class="hps">MySQLi</font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class="hps"> </font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class="hps"># Ngoding with PHP</font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class="hps"> </font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class="hps">applications that</font> <font class="hps">must</font> <font class="hps">exist</font> <font class="hps">before performing</font> <font class="hps">ngoding</font><br> <font class="hps">-</font> <font class="hps">XAMPP</font><br> <font class="hps">-</font> <font class="hps">WAMPP</font> <font class="hps">SERVER</font></font><font class="" id="result_box" lang="en"><font class="hps"> </font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class="hps"> </font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class="hps">after</font> <font class="hps">installing</font> <font class="hps">xampp</font> <font class="hps">or</font> <font class="hps">wampp</font> <font class="hps">server</font><br><br> <font class="hps">further</font><br> <font class="hps">we make</font> <font class="hps">code</font> <font class="hps">like this</font> <font class="hps">in</font> <font class="hps">Notepad</font> <font class="hps">or</font> <font class="hps">Notepad</font> <font class="hps">+ +</font><br><br> <font class="hps"><html></font><br> <font class="hps"><head></font><br> <font class="hps"><title></font> <font class="hps">Ngoding</font> <font class="hps">First</font> <font class="hps atn"><</font><font>/</font> <font class="hps">title></font><br> <font class="hps atn"><</font><font>/</font> <font class="hps">head></font><br> <font class="hps"><body></font> <font class="hps">Ngoding</font> <font class="hps">with</font> <font class="hps">PHP</font><font>.</font> <font class="hps"><br></font><br> <font class="hps atn"><</font><font>?</font> <font class="hps">php</font><br> <font class="hps">printf</font> <font class="hps atn">(</font><font class="hps atn">"</font><font>Date</font><font>.</font> <font class="hps">now</font><font>:</font><font>%</font> <font class="hps">s</font><font>"</font><font>,</font> <font class="hps">Date</font> <font class="hps atn">(</font><font class="hps atn">"</font><font>d</font> <font class="hps">FY</font><font>"</font><font class="">))</font><font class="">;</font><br> <font class="hps">?</font><font>></font><br> <font class="hps atn"><</font><font>/</font> <font class="hps">body></font><br> <font class="hps atn"><</font><font>/</font> <font class="hps">html</font><font class="">></font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class=""> </font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class="">and save with name .php</font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class=""> </font></font></p></div><div dir="ltr"><div class="almost_half_cell" id="gt-res-content"><div dir="ltr" style="zoom: 1;"><p><font class="" id="result_box" lang="en"><font class="hps">After completion of</font> <font class="hps">the</font> <font class="hps">create,</font> <font class="hps">open a</font> <font class="hps">browser</font> <font class="hps">and enter the</font> <font class="hps">address</font> <font class="hps">http://localhost/latihanphp/ngoding1.php</font><br> <font class="hps">Note</font> <font class="hps">that appears</font> <font class="hps">in the browser page</font><font>:</font></font></p></div></div><p><font class="" id="result_box" lang="en"><font class=""> </font></font><font class="" id="result_box" lang="en"><font class="hps"> </font></font></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class="hps"> </font></font><img alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAagAAAC9CAIAAABpvH4LAAAKxElEQVR4nO3dP4/cuBkH4Ps06a5fpLsv4j7NtQGCw+W6FFdtmdbAZqsAqQyXwQKXwsB1ThG4svst9hMoxezMiBQpUjuav+8jPI3XMxKlEX9Dihzpu8FisViCLd+N//H03//98NOvf/jTXwBuzw8//frP//yeB98f//y3s5cM4Hi+//HnPPjOXiaAY6sG3939I8AtEXxAOIIPCEfwAeEIPiA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AHhCD4gHMEHhCP4gHAEHxCO4APCEXxAOIIPCEfwAeEIPiAcwQeEI/iAcAQfEI7gA8IRfEA4gg8IR/AB4Qg+IBzBB4Qj+IBwBB8QjuADwhF8QDiCDwhH8AHhCD4gHMEHhCP4gHAEHxCO4APCaQcfwK3Kg+/7H38+e5kAjioPvr9//PfZywRwPH/9x7/y4LNYLJYIy/8B9R/QnVkpMtsAAAAASUVORK5CYII=" width="320" height="142"></p></div><div dir="ltr"><p><font class="" id="result_box" lang="en"><font class="hps"> </font></font><font class="" id="result_box" lang="en"><font class="hps"> </font></font><font class="" id="result_box" lang="en"><font> </font></font></p></div></div>
0 comments:
Posting Komentar