[phorm] Re: Parse error

  • From: brian@xxxxxxxxxxxxx
  • To: phorm@xxxxxxxxxxxxx
  • Date: Wed, 13 Oct 2004 09:50:19 +0100

Nothing obvious to be....

Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $email;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $email;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $initial;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $surname;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $budget;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $day;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $month;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $year;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $duration;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $adults;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $children;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $infants;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $airport;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $resort;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $accommodation_type;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $bedrooms;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $insurance;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $phone;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $Design;
Phorm@1096 $ph_ValCondition = (true) ? true : false;
Phorm@1105 $ph_Val = $Information;
VarSub@173 $ph_SubVal = $response;
VarSub@173 $ph_SubVal = $title;
VarSub@173 $ph_SubVal = $initial;
VarSub@173 $ph_SubVal = $surname;
VarSub@173 $ph_SubVal = $phone;
VarSub@173 $ph_SubVal = $mobile;
VarSub@173 $ph_SubVal = $email;
VarSub@173 $ph_SubVal = $budget;
VarSub@173 $ph_SubVal = $day;
VarSub@173 $ph_SubVal = $month;
VarSub@173 $ph_SubVal = $year;
VarSub@173 $ph_SubVal = $duration;
VarSub@173 $ph_SubVal = $adults;
VarSub@173 $ph_SubVal = $children;
VarSub@173 $ph_SubVal = $infants;
VarSub@173 $ph_SubVal = $airport;
VarSub@173 $ph_SubVal = $resort;
VarSub@173 $ph_SubVal = $accommodation_type;
VarSub@173 $ph_SubVal = $quality;
VarSub@173 $ph_SubVal = $bedrooms;
VarSub@173 $ph_SubVal = $car;
VarSub@173 $ph_SubVal = $insurance;
VarSub@173 $ph_SubVal = $special_requests;
VarSub@173 $ph_SubVal = $Design;
VarSub@173 $ph_SubVal = $Information;
VarSub@173 $ph_SubVal = $Hear_From;
VarSub@173 $ph_SubVal = $subscribe;
VarSub@173 $ph_SubVal = $On-line Booking Option;

Parse error: parse error, unexpected T_STRING in 
/home/httpd/html/phorm2/lib/functions.php(173) : eval()'d code on 
line 1
VarSub@173 $ph_SubVal = $env_report;
VarSub@173 $ph_SubVal = $title;
VarSub@173 $ph_SubVal = $initial;
VarSub@173 $ph_SubVal = $surname;


 


> Try setting debug flag 36.
> 
> -- 
> Alan Little
> Phorm Support
> http://www.phorm.com/
> 
> On Monday, October 11, 2004, 9:21:13 AM, you wrote:
> 
> 
> > Just swapped a form over from formhander.pl to mphorm v3.54 - 
> > usually this works OK. However this one is giving an error:
> 
> > Parse error: parse error, unexpected T_STRING in 
> > /home/httpd/html/phorm2/lib/functions.php(173) : eval()'d code on 
> > line 1
> 
> > For me, this line shows:
> > eval("\$ph_SubVal = \$$ph_SubVar;");
> 
> > Code looks OK to me, but maybe it is form specific. The form is 
> > at:
> > http://www.designholidays.co.uk/pages/booking-quote_form.htm
> 
> > Best regards, Brian
> 
> > =============================================================
> > Omega Digital Media Ltd
> 
> >      I N T E G R A T E D ~ W E B ~ S O L U T I O N S
> 
> > Phone: +44 (0)1444 410202
> > Fax:   +44 (0)1444 456814
> 
> > http://www.omegadm.co.uk
> > =============================================================
> > Cuckfield House, High Street, Cuckfield, West Sussex RH17 5EL
> 
> > -------------------------------------------------
> > You are receiving this message because you are subscribed to the Phorm 
> > mailing list. To send messages to the mailing list, simply send email to 
> > phorm@xxxxxxxxxxxxx from the address you have
> > subscribed. You may unsubscribe from the list by sending email to 
> > phorm-request@xxxxxxxxxxxxx with 'unsubscribe' in the SUBJECT field.
> 
> -------------------------------------------------
> You are receiving this message because you are subscribed to the Phorm 
> mailing list. To send messages to the mailing list, simply send email to 
> phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
> from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
> 'unsubscribe' in the SUBJECT field.
> 



-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: