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,
Hello,
I've made the source available at:
http://www.weldingconsultants.com/wcapp/admin.phps
Chris W. Parker wrote:
print 'tdinput type=\'checkbox\' name=\'status[' .
$row[profileID] . ']' . ' value='true'//td\n;
Very likely the problem is not on line 82, but rather before it. Line 82
is just
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-generalw=2
STFM |
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
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,
expecting T_STRING or T_VARIABLE or T_NUM_STRING in
/hsphere/local/home/welding/weldingconsultants.com/wcapp/admin.php
Jeff Schmidt mailto:[EMAIL PROTECTED]
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 is:
Chris W. Parker
on Monday, March 14, 2005 3:15 PM said:
Line 82 is:
print 'tdinput type=\'checkbox\' name=\'status[' .
$row[profileID] . ']' . ' value='true'//td\n;
Very likely the problem is not on line 82, but rather before it. Line
82 is just where the PHP parser finally gets
Chris W. Parker wrote:
Chris W. Parker
on Monday, March 14, 2005 3:15 PM said:
Line 82 is:
print 'tdinput type=\'checkbox\' name=\'status[' .
$row[profileID] . ']' . ' value='true'//td\n;
Very likely the problem is not on line 82, but rather before it. Line
82 is just where the PHP parser
Chris W. Parker wrote:
Chris W. Parker
on Monday, March 14, 2005 3:15 PM said:
Line 82 is:
print 'tdinput type=\'checkbox\' name=\'status[' .
$row[profileID] . ']' . ' value='true'//td\n;
Very likely the problem is not on line 82, but rather before it. Line
82 is just where the PHP
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 'tdinput type=\'checkbox\' name=\'status[' .
^^ should be a slash??
Jason Barnett mailto:[EMAIL PROTECTED]
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 'tdinput type=\'checkbox\' name=\'status[' .
$row[profileID] . ']' . ' value='true'//td\n;
Very
Why not make it simple?:
// end PHP code ?
tdinput type='checkbox' name='status[? echo $row['profileID']; ?]'
value='true'/td
? // continue PHP code
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
12 matches
Mail list logo