Re: newbie question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sep 16, 2015, at 2:48 AM, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx> wrote:
> 
> On Tue, 2015-09-15 at 20:22 -0700, Jeffry Killen wrote:
>> This confuses people often who are new to php because the  
>> code
>> is written directly into the html file.
> 
> I think this is the one of the causes of confusion. HTML is written
> directly into a PHP file. :)
> 
> Thanks,
> Ash
> 
> http://www.ashleysheridan.co.uk
> 


Ash is correct.

More specifically, PHP code delivers web languages to a user's Browser.

The Browser never actually see’s PHP scripts because PHP runs on the server (not the client) and delivers what it wants to the Browser via client-side web languages (i.e., HTML, CSS, JavaScript et al). In other words, by the time the Browser see’s anything, PHP is finished.

Cheers,

tedd

_______________
tedd sperling
tedd@xxxxxxxxxxxx


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux