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"; // 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 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 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"; 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"; 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 Link to comment https://forums.phpfreaks.com/topic/146060-solved-unexpected-t_string/#findComment-766793 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.