answersLogoWhite

0

PHP code is never executed by the web browser, and the source code of a PHP file will normally not be sent to the browser at all. In this sense, there is no designation of PHP code on the client's side-- it all appears to be HTML, text, XML, or whatever other type of output you choose to produce. On the server side, PHP scripts are inside of files ending in ".php". Script inside of these PHP files start with and end with ?>. Anything outside of these tags will be sent to the browser as static ("unchanging") output. The code inside the PHP tags start from the top, and are executed sequentially from top to bottom, unless flow control is used to modify the control of the scripts (such as functions, while loops, switch and if constructs, etc).

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you create an area of a webpage to display PHP results?

PHP code blocks start with <?php and end with ?>.


How do you give href toanother php page?

Here is the code below to redirect a webpage using php: <?php header('Location: url of the webpage'); // example: header('Location: index.php') exit; // exit after redirection is very important as php executes code line by line ?>


How do you create a redirect webpage?

If you are using PHP you could use this code: (In the <head>) <?php HEADER("Location: http://www.rasclerhys.com"); ?> That should automatically take you to "www.rasclerhys.com"


What is webpage format?

HTML + CSS/JAVASCRIPT/FLASH/PHP . The page is coded in HTML code, and objects/interactions/stylesheet if any is runned at the beginning of the site.


Example of dynamic webpage and its source code?

There are many programming languages in which you can write dynamic web pages - python, PHP, java, etc. A very simple example is given in the PHP tutorial for beginners - see related links.


What is the naming extension for a webpage?

with just plain HTML its .HTML, but if you want to use a server side language like php it will be .php


How you can connect two webpage in php?

You can use: require('filename.extension'); Or: include('filename.extension');


What are semantics in PHP?

PHP is related with HTML. HTML can be included into PHP script as well as PHP script can be included into HTML code. PHP begins and ends with <?php ?>. PHP is mix of few languages so semantics is mixed too.


What are the different technologies available to make webpage dynamic?

CGI,asp.net,PHP,JSP


What is syntax in php?

We can use php tags in different ways. <?php //php code to be written here ?> OR <? //php code ?> This tag will not work when we using editors such as macromedia dreamweaver. OR < script language="php"> //php code </script>


How do you change the language code in a PHP page?

I have little idea of your question however <?php #code in here ?> is the starter for PHP, and then anything outside is HTML.


How do you compile php code?

To compile PHP code, you do not use a traditional compiler like you would with languages such as C++ or Java. PHP is an interpreted language, meaning the code is executed directly by the PHP interpreter. To run PHP code, you need a web server with PHP installed, such as Apache or Nginx. The PHP interpreter reads the code, processes it, and generates the output dynamically.