faqts : Computers : Programming : Languages : PHP : Common Problems : Errors

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

327 of 576 people (57%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

T_CONSTANT_ENCAPSED_STRING - what does it mean? Is there any error documentation?

May 10th, 2006 08:24
Mehmet Y, Dan Stockton, Thomas Wittich,


if you're getting this error, it most likely means that you simply 
forgot a `;' somewhere previously (e.g.:
echo'this is stuff to echo';
echo'this is more stuff to echo'
function_name($variables);
)
look closely at all the code that comes before 
your 'T_CONSTANT_ENCAPSED_STRING' error, especially the line 
immediately before.
:)
Also of note is that you may have mismatched quotes- Mehmet