php script displays nothing in browser, inspect elements shows <!--?php echo 'Some text'; ?--> -


php script displays nothing in browser, inspect elements shows <!--?php echo 'text here can't see'; ?-->

this code:

    <html> <head>     <title>something</title> </head> <body>     <h1>something texttexttext</h1>              <?php     echo 'text here can't see';            ?>  </body> </html> 

when open in browser, get-"something texttexttext" , not "text here can't see".

for 1 thing, echo statement closes prematurely ' in can't. try:

    <html> <head>     <title>something</title> </head> <body>     <h1>something texttexttext</h1>              <?php     echo "text here can't see";            ?>  </body> </html> 

Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -