[PHP] Little php code - error

2010-04-08 Thread Juan
Hi guys, I'm having trouble with the following little php code [0]. The output from the server is : * Parse error: syntax error, unexpected '{' in file.php on line 27 * Let's assume that file.php is the file that is giving me some troubles. The structure is pretty easy to understand, however

Re: [PHP] Little php code - error

2010-04-08 Thread Devendra Jadhav
Can you paste your code somewhere? On Thu, Apr 8, 2010 at 7:51 PM, Juan j...@rodriguezmonti.com.ar wrote: Hi guys, I'm having trouble with the following little php code [0]. The output from the server is : * Parse error: syntax error, unexpected '{' in file.php on line 27 * Let's assume

Re: [PHP] Little php code - error

2010-04-08 Thread Dan Joseph
On Thu, Apr 8, 2010 at 10:21 AM, Juan j...@rodriguezmonti.com.ar wrote: Hi guys, I'm having trouble with the following little php code [0]. The output from the server is : * Parse error: syntax error, unexpected '{' in file.php on line 27 * Let's assume that file.php is the file that is

Re: [PHP] Little php code - error

2010-04-08 Thread Dan Joseph
On Thu, Apr 8, 2010 at 10:21 AM, Juan j...@rodriguezmonti.com.ar wrote: Hi guys, I'm having trouble with the following little php code [0]. The output from the server is : * Parse error: syntax error, unexpected '{' in file.php on line 27 * Sorry, I gave you bad information... Its the

Re: [PHP] Little php code - error

2010-04-08 Thread David Otton
On 8 April 2010 15:21, Juan j...@rodriguezmonti.com.ar wrote: The structure is pretty easy to understand, however I'm not able to solve this. Could you tell me why I'm not able to run this code. Your else has a condition on it } else (empty($b) and empty($c)) { Should be } else { BTW, the

Re: [PHP] Little php code - error

2010-04-08 Thread Peter Lind
On 8 April 2010 16:30, David Otton phpm...@jawbone.freeserve.co.uk wrote: On 8 April 2010 15:21, Juan j...@rodriguezmonti.com.ar wrote: The structure is pretty easy to understand, however I'm not able to solve this. Could you tell me why I'm not able to run this code. Your else has a

Re: [PHP] Little php code - error

2010-04-08 Thread Richard Quadling
On 8 April 2010 15:21, Juan j...@rodriguezmonti.com.ar wrote: Hi guys, I'm having trouble with the following little php code [0]. The output from the server is : * Parse error: syntax error, unexpected '{' in file.php on line 27 * Let's assume that file.php is the file that is giving me

Re: [PHP] Little php code - error

2010-04-08 Thread Richard Quadling
On 8 April 2010 15:21, Juan j...@rodriguezmonti.com.ar wrote: Hi guys, I'm having trouble with the following little php code [0]. The output from the server is : * Parse error: syntax error, unexpected '{' in file.php on line 27 * Let's assume that file.php is the file that is giving me

Re: [PHP] Little php code - error

2010-04-08 Thread Juan
2010/4/8 Richard Quadling rquadl...@googlemail.com: On 8 April 2010 15:21, Juan j...@rodriguezmonti.com.ar wrote: Hi guys, I'm having trouble with the following little php code [0]. The output from the server is : * Parse error: syntax error, unexpected '{' in file.php on line 27 * Let's

Re: [PHP] Little php code - error

2010-04-08 Thread Ashley Sheridan
On Thu, 2010-04-08 at 12:17 -0300, Juan wrote: 2010/4/8 Richard Quadling rquadl...@googlemail.com: On 8 April 2010 15:21, Juan j...@rodriguezmonti.com.ar wrote: Hi guys, I'm having trouble with the following little php code [0]. The output from the server is : * Parse error: syntax

Re: [PHP] Little php code - error

2010-04-08 Thread Paul M Foster
On Thu, Apr 08, 2010 at 04:26:08PM +0100, Ashley Sheridan wrote: On Thu, 2010-04-08 at 12:17 -0300, Juan wrote: 2010/4/8 Richard Quadling rquadl...@googlemail.com: On 8 April 2010 15:21, Juan j...@rodriguezmonti.com.ar wrote: Hi guys, I'm having trouble with the following little php

Re: [PHP] Little php code - error

2010-04-08 Thread Ashley Sheridan
On Thu, 2010-04-08 at 12:00 -0400, Paul M Foster wrote: On Thu, Apr 08, 2010 at 04:26:08PM +0100, Ashley Sheridan wrote: On Thu, 2010-04-08 at 12:17 -0300, Juan wrote: 2010/4/8 Richard Quadling rquadl...@googlemail.com: On 8 April 2010 15:21, Juan j...@rodriguezmonti.com.ar wrote:

Re: [PHP] Little php code - error

2010-04-08 Thread Jim Lucas
Paul M Foster wrote: On Thu, Apr 08, 2010 at 04:26:08PM +0100, Ashley Sheridan wrote: On Thu, 2010-04-08 at 12:17 -0300, Juan wrote: 2010/4/8 Richard Quadling rquadl...@googlemail.com: On 8 April 2010 15:21, Juan j...@rodriguezmonti.com.ar wrote: Hi guys, I'm having trouble with the