Re: [PHP] Dreaded expecting `T_VARIABLE' or... Error -- long post

2002-10-11 Thread Marek Kilimajer
the line global ; should be global $some_variable; or delete it Verdon Vaillancourt wrote: >Hi Apologies if this question has been answered before and I can't find it. >I have searched and although finding similar issues, I haven't been able to >fix. > >I have a file that creates a search for a

RE: [PHP] Dreaded expecting `T_VARIABLE' or... Error -- long post

2002-10-11 Thread John W. Holmes
he single/double quotes around the key so you don't get an undefined constant warning. That looks like your problem. ---John Holmes... > -Original Message- > From: Verdon Vaillancourt [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 11, 2002 12:34 PM > To: PHP-Gener

[PHP] Dreaded expecting `T_VARIABLE' or... Error -- long post

2002-10-11 Thread Verdon Vaillancourt
Hi Apologies if this question has been answered before and I can't find it. I have searched and although finding similar issues, I haven't been able to fix. I have a file that creates a search for and then is supposed to post to itself to retriev results. When I add the first function (the searc