odetron Posted February 11, 2007 Share Posted February 11, 2007 Parse error: parse error, unexpected T_VARIABLE in /home/www/phimil.freehostia.com/Test/index.php on line 168 thats what i get whe i execut my script. it says theres a T_Variable yet i find no error in the variable on line 168. $pg2 == {"<fieldset><legend><b>mission, complete!</b> - <i>January 6, 2007</i></legend><div class='infld'><BR>This site is 100% completed! Finnaly the downloads section is back! It took awhile to develope because it needed extra CSS to finish. Check it out.! Also feal free to register in the un-completed forums. ( I still need to upload some images) </a></div></fieldset> <fieldset><legend><b>Forum is Back!</b> - <i>December 28, 2006</i></legend><div class='infld'><BR>w00t! this site has more of a use now! Check out our forums <a href="/community">Here!</a></div></fieldset> <fieldset><legend><b>Project Resumed!</b> - <i>December 28, 2006</i></legend><div class='infld'><BR>The current 3D Project has started again! The first screen shots should be expected late january.</div></fieldset>"} I think its because of the html i put in it so if thats the problem, how do i put that in a variable? Link to comment https://forums.phpfreaks.com/topic/38038-solved-why-the-error/ Share on other sites More sharing options...
GingerRobot Posted February 11, 2007 Share Posted February 11, 2007 Without lookig at your code, i would imagine the error is because you've forgotten the semi colon at the end of the previous line. Link to comment https://forums.phpfreaks.com/topic/38038-solved-why-the-error/#findComment-182096 Share on other sites More sharing options...
Jessica Posted February 11, 2007 Share Posted February 11, 2007 == is a comparison operator. = is an assignment operator. You also need a ; at the end. Link to comment https://forums.phpfreaks.com/topic/38038-solved-why-the-error/#findComment-182097 Share on other sites More sharing options...
odetron Posted February 11, 2007 Author Share Posted February 11, 2007 Without lookig at your code, i would imagine the error is because you've forgotten the semi colon at the end of the previous line. oh...duh. thanks that worked. Link to comment https://forums.phpfreaks.com/topic/38038-solved-why-the-error/#findComment-182098 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.