Re: [PHP] syntax error breaking in and out of php into html code

2012-08-27 Thread Tedd Sperling
On Aug 26, 2012, at 1:36 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Well, it turns out that I'm just an idiot... -- Thanks, Ash That was easy -- anyone of us could have told you that. :-) Cheers, tedd PS: We all have our time in the barrel. _

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-26 Thread tamouse mailing lists
On Sat, Aug 25, 2012 at 9:56 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sun, 2012-08-26 at 09:41 +0700, Duken Marga wrote: Can you tell us what is the error shown in browser or CLI? On Sun, Aug 26, 2012 at 5:54 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: I've just

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-26 Thread Ashley Sheridan
On Sun, 2012-08-26 at 04:36 -0500, tamouse mailing lists wrote: On Sat, Aug 25, 2012 at 9:56 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sun, 2012-08-26 at 09:41 +0700, Duken Marga wrote: Can you tell us what is the error shown in browser or CLI? On Sun, Aug 26, 2012 at

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-26 Thread Stuart Dallas
On 26 Aug 2012, at 03:56, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Through the browser I get: Parse error: syntax error, unexpected $end in /var/www/html/siteinquestion/index.php on line 356 Through the CLI I get: PHP Parse error: syntax error, unexpected $end in index.php on

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-26 Thread Ashley Sheridan
On Sun, 2012-08-26 at 11:02 +0100, Stuart Dallas wrote: On 26 Aug 2012, at 03:56, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Through the browser I get: Parse error: syntax error, unexpected $end in /var/www/html/siteinquestion/index.php on line 356 Through the CLI I get:

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-26 Thread Samuel Lopes Grigolato
Maybe you have a ? inside the HTML code and your php configuration allows short open tags? In production that setting could be disabled. On Sun, Aug 26, 2012 at 9:20 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Sun, 2012-08-26 at 11:02 +0100, Stuart Dallas wrote: On 26 Aug 2012, at

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-26 Thread Ashley Sheridan
On Sun, 2012-08-26 at 09:21 -0300, Samuel Lopes Grigolato wrote: Maybe you have a ? inside the HTML code and your php configuration allows short open tags? In production that setting could be disabled. On Sun, Aug 26, 2012 at 9:20 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote:

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-26 Thread Daniel Brown
On Sat, Aug 25, 2012 at 6:54 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: I've just inherited some (pretty awful code) that I have to make some edits to, and came across a bit of a problem. A lot of the code breaks in and out of PHP and into HTML code: ?php while(condition) { ?

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-26 Thread tamouse mailing lists
On Sun, Aug 26, 2012 at 5:02 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sun, 2012-08-26 at 04:36 -0500, tamouse mailing lists wrote: On Sat, Aug 25, 2012 at 9:56 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sun, 2012-08-26 at 09:41 +0700, Duken Marga wrote: Can

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-26 Thread Ashley Sheridan
On Sun, 2012-08-26 at 09:41 +0700, Duken Marga wrote: Can you tell us what is the error shown in browser or CLI? On Sun, Aug 26, 2012 at 5:54 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: I've just inherited some (pretty awful code) that I have to make some edits to, and came

[PHP] syntax error breaking in and out of php into html code

2012-08-25 Thread Ashley Sheridan
I've just inherited some (pretty awful code) that I have to make some edits to, and came across a bit of a problem. A lot of the code breaks in and out of PHP and into HTML code: ?php while(condition) { ? lisome html here/li ?php } ? But when I check this my PHP parser is saying that this is a

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-25 Thread Adam Richardson
On Sat, Aug 25, 2012 at 6:54 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: I've just inherited some (pretty awful code) that I have to make some edits to, and came across a bit of a problem. A lot of the code breaks in and out of PHP and into HTML code: ?php while(condition) { ?

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-25 Thread Duken Marga
Can you tell us what is the error shown in browser or CLI? On Sun, Aug 26, 2012 at 5:54 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: I've just inherited some (pretty awful code) that I have to make some edits to, and came across a bit of a problem. A lot of the code breaks in and out

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-25 Thread Ashley Sheridan
On Sun, 2012-08-26 at 09:41 +0700, Duken Marga wrote: Can you tell us what is the error shown in browser or CLI? On Sun, Aug 26, 2012 at 5:54 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: I've just inherited some (pretty awful code) that I have to make some edits to, and came