View Single Post
  #13 (permalink)  
Old 03-12-10, 09:41 AM
Tony S. Tony S. is offline
Newbie Coder
 
Join Date: Jul 2009
Posts: 43
Thanks: 8
Thanked 0 Times in 0 Posts
Hi Jcbones, I hope you are doing well.
I am confused again. In the "CASE" string should I put the page name in both areas: case 'page1':
$file = 'page1.html';
Or only after "case"?
Also how will the code be able to define what salesleter (page) to call for the different main question options?

Will this portion of the code need a actual filename?:
if(empty($other)) {
$fieldname="other"; //I do not know what fieldname is, as it isn't passed or declared.
$mainquestion="other";

I apologise for so many questions. my coding skills are close to 0
Tony S.

Last edited by Tony S.; 03-12-10 at 09:44 AM.
Reply With Quote