PHP displaying tags in browser? -


when create php file , try echo browser including code shouldn't displayed. i'm wondering if have turned off apache modules or something. have idea ? example below display. php tags , echo command.

file:///c:/wamp/www/training/text.php

<?php  echo "anthing";  ?> 

i think typing file location in browser. must use local web-server address. try typing in url bar of browser.

localhost/training/text.php


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -