PHP and Pages

I am trying to figure out how to create custom pages using PHP. I would like to be able to pull information from an external mySQL database and present them on a page. I have tried entering php code in the page editor and it seems to block it out.



Any suggestions?



Thanks!

k2 - so you will create a page in admin and then you want the contents of that page to have seperate php coding?



What version are you using of the cart software?

[quote name=‘DELTA9000’]k2 - so you will create a page in admin and then you want the contents of that page to have seperate php coding?



What version are you using of the cart software?[/QUOTE]



Version 2.1.1



I want to create a page that displays dynamic content from a mySQL database. The only way I know of to implement that is via PHP. I am attempting to create the page via the Content->Page dialog in the admin section.

k2 perhaps not the best way to do it - but since you can not put the php code directly into the admin editor to accomplish what you want you can hard-code something in the tpl file for the page - do a simple smarty if check for the page id you want to modify and then instead of loading the content of the page just put some smarty php code that you want in the page - I have done stuff like this before successfully in older version of the cart, but the principal is the same.



good luck