In dreamweaver, php cannot be written into html. & lt ;? Php & nbsp ;? & Gt; the written code will not be executed. open the browser and check that the source code is commented out. why? As follows, & lt ;! --? Php & nbsp; echo & nbsp; 'hell cannot write php in html of dreamweaver
Use The written code will not be executed. open the browser and check that the source code is commented out. why?
As follows,
Dreamweaver php HTML shares: the written code will not be executed, and the source code is commented out when you open the browser. why? As follows, 'Data-pics = ''>
------ Solution --------------------
The PHP file will be compiled and executed by the server.
------ Solution --------------------
Reference:
Quote: reference:
The PHP file will be compiled and executed by the server.
My homepage is html, and then I determine if I have logged on to the session implementation and want to change it to a php page?
Use the php page
Html can only be static
------ Solution --------------------
That is determined by ajax.
Or rewrite the url.
------ Solution --------------------
Reference:
Quote: reference:
That is determined by ajax.
Or rewrite the url.
Oh, okay. isn't php embedded anywhere?
Who said that?
------ Solution --------------------
Reference:
PHP ("PHP: Hypertext Preprocessor") is a widely used open-source multi-purpose scripting language that can be embedded into HTML.
... Can I use. php as the homepage?
Yes. you can use index. php on the homepage.
If you want to implement the index.html format, you can use URL rewriting.
------ Solution --------------------
You can search for pseudo-static estimates to solve your problem.
------ Solution --------------------
Your HTML execution of PHP depends on your WEB server. the default configuration is not to execute PHP in HTML.