How can i add php code to my post in blogspot? I have some PHP code and want to post them into my blog. But blogspot remove all tags. How can i add php code to my post. Thanks
Most probably, you can't do that. But, are you able to have IFRAME? If so, then you can link that to an external source, where you do your PHP code.
We misunderstand. I want to post those code to my post. But i really dont know how to do. Example: <html> <head> <title>PHP Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?> </body> </html> Code (markup): But when i write this code, Blogspot remove all except: Hello world.
can you share how u did it? as far as i know, blogger don't support php in their programming language. thanks
You can't use PHP as programing language in blogspot. It has it's own programing language, but I think you wanted to quote a code in your blog post (for example to post a PHP tutorial). In this case you have to escape it and then place it in "edit HTML" mode. It should do the trick.