osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

How to run php code inside the body

This is a discussion on How to run php code inside the body within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; If I add pages, or in my item descriptions, I want to run some PHP inside the description. Is there ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-28-2006, 09:46 PM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 5
groggory
Default How to run php code inside the body

If I add pages, or in my item descriptions, I want to run some PHP inside the description. Is there any way to do that? I can't get it to work.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-08-2006, 11:08 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,788
Thanks: 5
Thanked 104 Times in 90 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default RE: How to run php code inside the body

NO. You have to run and IF statement outside of the discription in the CODE of the program. THE TEXT IS PARSED and is outputed direct as text to HTML and is not inspected or "processed" by php at all.
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
body of order email confirmation message chrismole osCMax v1.7 Discussion 3 06-08-2005 10:10 PM
inside customer's account developer_x osCommerce 2.2 Modification Help 2 01-07-2005 12:25 PM
Problem, WILLING TO PAY, DETAILS INSIDE EddyXP osCMax v1.7 Discussion 1 07-30-2004 03:47 PM
Main body text size/size of search box/adding img to footer thecandypam osCommerce 2.2 Modification Help 1 07-10-2004 11:58 AM
question about creating an auto body parts online shop jacven osCommerce 2.2 Modification Help 1 05-13-2004 11:45 AM


All times are GMT -8. The time now is 10:29 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax