It is not possible to directly put jsp code in php, You could look into json and xml which allow data transfer between different technologies. Alternatively you could send data from jsp code to html and via html to php. Look at the link below. It may help somewhat
Its done exactly the same as when you put it in an HTML file. There are 2 ways you can do it: <html> <?php // php stuff ?> </html> Or you can do it like this: <?php echo "<html>"; // php stuff echo "</html>"; ?>
change the extention of the .HTML file to .php and then open the file that was previously HTML and put <?php include ("path/to/second/php/file.php"); ?> so for example if i have page1.HTML and page2.php i rename page1.HTML to page1.php and then put <?php include ("page2.php"); ?> where i want page2 to appear. Note: Any HTML file can be renamed to have a .php extention even if it doesnt contain any PHP.
One will put PHP encoding type headers before instructions using HTML language. This is done in order to start the HTML sequence through the PHP header.
<?php // your php code goes here ?> If your product pages are created in PHP (have the .php extension) then you can simply add the php start/end tag. There is a way to have the server recognize PHP inside of HTML files but that would require some work on the server, better left to the server manager.
Set up a PHP file and put the following in it. <?php phpinfo(); ?> Then run it on the server, it will have all the information you will need including what version you are running.
Once you install wamp server. Any file with php extenstion like xyz.php you put in www folder will be executed as PHP file.
To create a PHP script all you have to do is create a new file, then save the file as "filename.php". It must have a .php file extension.After that open the file and put in the PHP tags like shown.Then you write your PHP script within those tags and upload to your web space and check it out.
Just put it in the right folder
As many as you like. Its unlimited. :)
After each word put the HTML tag this will put it on a new line.
Answer: Php 2510% of Php 250= 10% * Php 250= 0.10 * Php 250= Php 25
PHP Consultant is a Expert PHP Developer who Guide PHP Development Process