big-dog1965 Posted February 20, 2009 Share Posted February 20, 2009 Why are there so many differant Parse error: syntax error, unexpected T_STRING I looked at post and it doesnt seem any apply to my problem. I get this Parse error: syntax error, unexpected T_STRING in /homepublic_html/App/AppView/log/config.php on line 13 Line 13 is $site_url = $dbtable = "Application;// THE NAME OF YOUR DATABASE , THIS SHOULD HAVE BEEN SET WHEN YOU INSTALLED dbuserdb.sql, SO YOU CAN LEAVE THIS // PLEASE AMEND THE CODE BELOW WITH YOUR URL & FOLDER DETAILS // PLEASE AMEND THE CODE BELOW WITH YOUR URL & FOLDER DETAILS $site_url = "http://www.wichita.com"; // CHANGE THIS TO YOUR OWN WEBSITE URL Ie.(http://www.mysite.com) $site_folder = "ClanApp\ClanAppView\login\index.php"; $sendersName = "Wichita"; // Quote Link to comment https://forums.phpfreaks.com/topic/146060-solved-unexpected-t_string/ Share on other sites More sharing options...
Lodius2000 Posted February 20, 2009 Share Posted February 20, 2009 you need a semicolon at the end of that line EDIT: scratch that, Im a moran, missed the comment markings Quote Link to comment https://forums.phpfreaks.com/topic/146060-solved-unexpected-t_string/#findComment-766751 Share on other sites More sharing options...
farkewie Posted February 20, 2009 Share Posted February 20, 2009 You need to close quotas after $dbtable = "application" you also need to put // in front of the comments on line 12 Quote Link to comment https://forums.phpfreaks.com/topic/146060-solved-unexpected-t_string/#findComment-766752 Share on other sites More sharing options...
Lodius2000 Posted February 20, 2009 Share Posted February 20, 2009 change the top line $dbtable = "Application; to $dbtable = "Application"; Quote Link to comment https://forums.phpfreaks.com/topic/146060-solved-unexpected-t_string/#findComment-766753 Share on other sites More sharing options...
Maq Posted February 20, 2009 Share Posted February 20, 2009 Actually need a quote right here: $dbtable = "Application"; Quote Link to comment https://forums.phpfreaks.com/topic/146060-solved-unexpected-t_string/#findComment-766754 Share on other sites More sharing options...
big-dog1965 Posted February 20, 2009 Author Share Posted February 20, 2009 Thanks that did the trick Quote Link to comment https://forums.phpfreaks.com/topic/146060-solved-unexpected-t_string/#findComment-766793 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.