Cross-browser refers to the ability of a website, web application, HTML construct or client-side script
to function in environments that provide its required features and to
bow out or degrade gracefully when features are absent or lacking.
Why we need to use php tags?
When PHP parses a file, it looks for opening and closing tags,
which are <?php and ?>
which tell PHP to start and stop interpreting the code between
them. Parsing in this manner allows PHP to be embedded in…Read More
Escaping from HTML
Everything outside of opening and closing tags is ignored by the
PHP parser which allows PHP files to have mixed content. This allows PHP
to be embedded in HTML documents, for example to create templates. …Read More
What will happen if you omit the closing (end) PHP tag ?
If you decide to omit the closing PHP tag, then the last line of the file should be ended with semi colon. If you add the closing tag then last line doesn't need to end with semi colon.<?php
echo "First line";
echo "Last …Read More
What can PHP do?
PHP is a server-side scripting,
so you can do anything any other CGI program can do, such
as collect form data, generate dynamic page content, or
send and receive cookies.
There are three main areas where …Read More
0 comments:
Post a Comment