This video is designed for those people who are just starting out with PHP and do not yet understand the exact structure of the code. Simply for this article could also be called "translation of the code for people" doctrine. A few years ago when I personally started with the PHP code I had difficulty not understand that language learning is made more difficult by. Before we begin, I will explain some of the concepts, if any of them is unclear: function - is action, Which task is a task to do something and report it. PHP has built over 700 different functions. parameter - values which constitute the so-called. functions, rules, or provisions 1st Let's start with the PHP code tag to show the server that PHP code is followed here. 2nd We will create a new function using the 'function' put his name as 'welcome'. Then print the brackets, because the functions have a habit of using different parameters, you just write them in brackets. That's why we leave the parentheses empty at the moment because we do not have any additional parameter, which we now want to use. 3rd {This means that the code is now coming here from there, or metaphorically, as a function of its earhook we add a bucket of different things. 4th Using the 'echo' function to visitors say 'Good morning! ", Which we write apostrophes or quotation marks, because the text is written mostly in the parameters. 5th Now if the function is attached to close out the contents using the logical ending brace} or if our ...
No comments:
Post a Comment