BoarderLine Posted December 1, 2008 Share Posted December 1, 2008 Hi all, I am receiving the following parse error from the below query but am unsure why?? Any ideas appreciated thanks. Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\Club_Index.php on line 42 $query_rsClubList = "SELECT clubs.ClubID, ImageFile, ListingCat, Club_Name, Discription, City, Address, Club_Contact FROM clublistingpics, clubs WHERE clublistingpics.ClubID = clubs.ClubID AND clublistingpics.Default = "YES" ORDER BY Club_Name"; Link to comment https://forums.phpfreaks.com/topic/134954-parse-error-on-query-unexpected-t_string/ Share on other sites More sharing options...
trq Posted December 1, 2008 Share Posted December 1, 2008 $query_rsClubList = "SELECT clubs.ClubID, ImageFile, ListingCat, Club_Name, Discription, City, Address, Club_Contact FROM clublistingpics, clubs WHERE clublistingpics.ClubID = clubs.ClubID AND clublistingpics.Default = 'YES' ORDER BY Club_Name"; Link to comment https://forums.phpfreaks.com/topic/134954-parse-error-on-query-unexpected-t_string/#findComment-702829 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.