开发者

Writing Mysql and Php code in wordpress Posts

I am wordpress and i am writing php or mysql code in a post but finally when i hit publish it gives an Server Error : 500 , i also trying putting my code under [code] [/code] tags nothing happened but when i remove my codes and hit publish then it's working开发者_如何学JAVA

Any idea guys Waiting for help


PHP code in the post? Can you use page instead of post? If yes, you could assing custom template for the page and execute code in it(I mean template). If no, try this http://wordpress.org/extend/plugins/exec-php/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜