HTML and PHP in page content

General ShopSite user discussion

HTML and PHP in page content

Postby jontaco » Mon May 03, 2010 10:30 pm

For some reason, the following HTML code does not work in the Text 1 area in my page content:

<strong></strong>

<p></p>

I also have noticed that PHP doesn't seem to work either as page content:

<?php include("include.php"); ?>

Is there something I am not doing that is causing this?

Thank you
jontaco
 
Posts: 39
Joined: Sun Apr 20, 2008 8:05 pm
Location: Huntsville, AL

Postby BFChris » Tue May 04, 2010 6:16 am

The HTML tags should work. However, in your example, there is no content inside them, so I don't think you'd see anything on the page as a result.

In order for PHP to work, your pages either need to have file names that end with the .php extension or your server needs to be set to parse PHP in .html pages.

I'm also not sure if the PHP will render when using Shopsite's preview mode.

Do you have a link to a page that exhibits the problem?
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA


Return to User Forum

Who is online

Users browsing this forum: No registered users and 160 guests

cron