Sr. PHP Programmer Question:
Download Questions PDF

Tell me In how many ways you can embed PHP code in an HTML page?

Answer:

All PHP code must be included inside one of the three special markup tags ate are recognized by the PHP Parser.

<?php PHP code goes here ?>
<? PHP code goes here ?>
<script language="php"> PHP code goes here </script>
Most common tag is the <?php...?>

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
How will you access the size of the uploaded file in PHP?How will you concatenate two strings in PHP?