November 23rd, 2012, 03: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, 05:21 AM
PHP code is a bunch of PHP statements. A script is an executable PHP file (consisting of code).
November 27th, 2012, 06: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 29th, 2012, 12:11 AM
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.