November 23rd, 2012, 02:43 AM
Is PHP script different from PHP code?
I am new to PHP. Now I am confused of the concept of PHP script and PHP code. Are they refer to the same thing? Is there any difference between.
November 23rd, 2012, 04:21 AM
PHP code is a bunch of PHP statements. A script is an executable PHP file (consisting of code).
November 27th, 2012, 05:58 AM
Different pairs of opening and closing tags which can be used in PHP. Two of those, <?php ?>
And Script looks like, <script language="php"> </script> which is always there.
November 28th, 2012, 11:11 PM
A typical programming high level language will be processed by a compiler to turn it into directly executable code. A scripting language will generally be interpreted line by line in text form to carry out the scripted operations.