Jump to content

Please help a newbie


djpeterlewis

Recommended Posts

I am in a position where I have 2 files

 

The first one is called products.php and the second one is called products.html

 

I have to put the products.php file in the url block for a form to work, then it must use the html to format. This works well

 

The question is In this configuration and without joining the 2 files how do I get variables from the php file to display in the html page. These are calculated variables in php

 

Thanks

 

Peter

Link to comment
Share on other sites

I have tried to merge the 2 but I have found that there are problems in doing so.

 

As it was written in codecharge studio , how do I remove the references to the html file. There is the following

 

//Initialize Page @1-6A6E3D04

// Variables

$FileName = "";

$Redirect = "";

$Tpl = "";

$TemplateFileName = "";

$BlockToParse = "main";

$ComponentName = "";

 

// Events;

$CCSEvents = "";

$CCSEventResult = "";

 

$FileName = "product.php";

$Redirect = "";

$TemplateFileName = "product.html";

$BlockToParse = "main";

$TemplateEncoding = "";

$FileEncoding = "";

$PathToRoot = "./";

//End Initialize Page

 

I tried to comment it out and put the php code into the body of the html but then the form that is the payment form did not work. It was as if I did products.html rather than products.php

 

If you want to view the site

 

http://www.gr8matches.com/products.php 

 

thanks

 

peter

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.