Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP in Products Description


kronnyq

Recommended Posts

Is there any way I can include a php file in a Products description...the script returns text based on the passed string and I need to get it to display when a product is viewed.

 

Can it be done? I normal php include didn't work.

Link to comment
Share on other sites

Is there any way I can include a php file in a Products description...the script returns text based on the passed string and I need to get it to display when a product is viewed.

 

Can it be done? I normal php include didn't work.

 

just show what you want to do

Treasurer MFC

Link to comment
Share on other sites

<?php include('http://mysite.com/mtype.php?h'); ?>

 

.php?h has an "?"

 

I'm not sure that yuou can include a query on a php file (.php?)

 

Whay don't you include a .txt or html file?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...