I counted by hand1 line at a time and I found this: ---------------- //depending from which page the request comes - assign certain variables switch ($formVars['page']) { -------------------- Line 118 is the line with the word 'variables'. I believe this should be part of the previous line of code. Did you take a look at line 118? Hope this helps, Nestor :-) On 2/1/06, Chris <Chris@xxxxxxxxxx> wrote: > Hi Patrick, > > To say that your help your time has been > appreciated, would be an understatement. > > I'm fairly sure I copied and pasted accurately, > but am now getting this error message, when trying > to view the page ;-( > > Parse error: parse error, unexpected T_SWITCH in > /home/throwawa/public_html/2/index.php on line 118 > > On this page: > http://www.011005.com/2/ > > The code: > http://www.011005.com/2.phps > > Any help appreciated. > > Chris. > > > > -----Original Message----- > > From: php-objects@xxxxxxxxxxxxxxx > > [mailto:php-objects@xxxxxxxxxxxxxxx] On Behalf > Of Patrick Bands > > Sent: Wednesday, February 01, 2006 10:01 AM > > To: php-objects@xxxxxxxxxxxxxxx > > Subject: RE: How do you make a > form unusable by > > spammers please? > > > > Hope this helps > > > > Patrick > > > > > > PHP Data object relational mapping generator > > http://www.metastorage.net/ > > > > > > > > > > PHP Data object relational mapping generator > http://www.metastorage.net/ > > > > ________________________________ > YAHOO! GROUPS LINKS > > > Visit your group "php-objects" on the web. > > To unsubscribe from this group, send an email to: > php-objects-unsubscribe@xxxxxxxxxxxxxxx > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > ________________________________ > PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/