How do I enter text on to a table? Do I simply open a table over my existing image page and then click on the text icon to enter text? I am asking this in relation to a previous thread that I posted relating to password protection. Naval has advised of a way to protect my pricing pages by using tables but I am not sure what to do once I have overlayed the table over my existing page.
Your advice, Naval, was as follows:
"Ok, here is a simple way.
Add a warning in your pages that to be able to see the prices, they need to be logged in. So add a link to the login page (see next paragraph).
Add a link to a page where you will add the Single Protect Page. This page won't have actually ANY protected content, it only servers to make them login.
Then, add the prices in the pages you already have, in a table.
Right Click the Table, and insert the following codes in the Before Tag and After Tag of the Table:
Before Tag:
<?php
if($_SESSION['password'] != ""){
echo'
in the after Tag add this code:
';
?>
Last, add this other code in the Page HTML, Start of Page:
<?php
session_start();
?>
When a user is logged in, he will be able to see the table with the prices, if he is not, the table will not display.
These pages will need to be PHP. "
Many thanks for any help given.
Russell
rboyd@allgifts.com.au
__________________
.
Your advice, Naval, was as follows:
"Ok, here is a simple way.
Add a warning in your pages that to be able to see the prices, they need to be logged in. So add a link to the login page (see next paragraph).
Add a link to a page where you will add the Single Protect Page. This page won't have actually ANY protected content, it only servers to make them login.
Then, add the prices in the pages you already have, in a table.
Right Click the Table, and insert the following codes in the Before Tag and After Tag of the Table:
Before Tag:
<?php
if($_SESSION['password'] != ""){
echo'
in the after Tag add this code:
';
?>
Last, add this other code in the Page HTML, Start of Page:
<?php
session_start();
?>
When a user is logged in, he will be able to see the table with the prices, if he is not, the table will not display.
These pages will need to be PHP. "
Many thanks for any help given.
Russell
rboyd@allgifts.com.au
__________________
.
Comment