Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Mixing HTML into php


mikehenson

Recommended Posts

Posted

I have a product called Domain Name Registration.

 

In my existing html site the customer inputs a domain name into a form and a cgi routine checks the availability and either returns an error if the customer uses an invalid character, details of the owner if the domain is already registered or returns with a buy option.

 

Can I incorporate this html and cgi routine into the product description box?

 

Kind regards to all

Posted
Can I incorporate this html and cgi routine into the product description box?

Kind regards to all

Kinda a newbie here, not very familiar with php but hacked out an answer that works with column_right.php

 

make sure your code doesn't cut off an if/else, for, or case statement;

close the php block with a '?>' I mean a:

?>

insert html here (hopefully cgi script will work too.)

re-open php block you intruded upon with '<?php' I mean a:

<?php

 

hope this helps,

trip

Posted
Kinda a newbie here, not very familiar with php but hacked out an answer that works with column_right.php

 

make sure your code doesn't cut off an if/else, for, or case statement;

close the php block with a '?>' I mean a:

?>

insert html here (hopefully cgi script will work too.)

re-open php block you intruded upon with '<?php' I mean a:

<?php

 

hope this helps,

trip

 

 

Hi Trip

I'm sure this would be great if I wanted to place the html into column_right or column_left but unfortunately I want it to appear in the product description. I have created a category called Register Domain and when clicked it opens a product page and this is where I need the html/cgi script to appear.

Archived

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

×
×
  • Create New...