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? Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.