Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-15 Thread Jeff Schmidt
Hello, Sorry about that. I took the source down after I solved the problem. The problem was a nasty type of syntax error caused by PHP implementation of HEREDOC string delimiting. I was using HEREDOC to stuff multiple lines of HTML into a string, in several places in my file, which is all fin

Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-15 Thread Jason Barnett
Jeff Schmidt wrote: > Hello, > I've made the source available at: > http://www.weldingconsultants.com/wcapp/admin.phps 404 error when I just tried. -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM |

Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-15 Thread Jeff Schmidt
Hello, I've made the source available at: http://www.weldingconsultants.com/wcapp/admin.phps Chris W. Parker wrote: print '\n"; Very likely the problem is not on line 82, but rather before it. Line 82 is just where the PHP parser finally gets screwed up. Yeah, that is what I was thinking too.

[PHP] (SOLVED) Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-15 Thread Jeff Schmidt
Ok, well the mystery is solved. Earlier in the script, I had used HEREDOC string delimiting to output some html blocks (I feel, asthetically, that HEREDOC is more readable than escaping out to HTML then back into PHP). Somehow, and I'm not sure how, because I don't remember typing the spaces, b

Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-14 Thread Dan Tappin
Why not make it simple?: // end PHP code ?> ]' value='true'> Dan T On Mar 14, 2005, at 3:58 PM, Jeff Schmidt wrote: Hello, I'm beating my head, and can't figure out *WHY* PHP is giving me this error. The full error text is: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, exp

RE: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-14 Thread Chris W. Parker
Jason Barnett on Monday, March 14, 2005 3:57 PM said: > Chris W. Parker wrote: >> Chris W. Parker <> >> on Monday, March 14, 2005 3:15 PM said: >> >> Line 82 is: print '>>> $row["profileID"] . ']' . "' value='true'/>\n"; >>> >>> Very likely the probl

Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-14 Thread Andre Dubuc
On Monday 14 March 2005 06:22 pm, Chris W. Parker wrote: > Chris W. Parker <> > > on Monday, March 14, 2005 3:15 PM said: > >> Line 82 is: > >> print ' >> $row["profileID"] . ']' . "' value='true'/>\n"; > > > > Very likely the problem is not on line 82, but rather before it. Line > > 82 is just

Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-14 Thread Jason Barnett
Chris W. Parker wrote: > Chris W. Parker <> > on Monday, March 14, 2005 3:15 PM said: > > >>>Line 82 is: >>>print '>>$row["profileID"] . ']' . "' value='true'/>\n"; >> >>Very likely the problem is not on line 82, but rather before it. Line >>82 is just where the PHP parser finally gets screwed

Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-14 Thread M. Sokolewicz
Chris W. Parker wrote: Chris W. Parker <> on Monday, March 14, 2005 3:15 PM said: Line 82 is: print '\n"; Very likely the problem is not on line 82, but rather before it. Line 82 is just where the PHP parser finally gets screwed up. Ohh .. and if i read it more fully the first time I would ha

RE: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-14 Thread Chris W. Parker
Chris W. Parker <> on Monday, March 14, 2005 3:15 PM said: >> Line 82 is: >> print '> $row["profileID"] . ']' . "' value='true'/>\n"; > > Very likely the problem is not on line 82, but rather before it. Line > 82 is just where the PHP parser finally gets screwed up. Ohh .. and if i read it m

RE: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

2005-03-14 Thread Chris W. Parker
Jeff Schmidt on Monday, March 14, 2005 2:58 PM said: > Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, > expecting T_STRING or T_VARIABLE or T_NUM_STRING in > /hsphere/local/home/welding/weldingconsultants.com/wcapp/admin.php on > line 82 > > Line 82