RidgeandGable Posted December 9, 2015 Share Posted December 9, 2015 SELECT Name, Town, Category FROM customer1 WHERE Name = colname Code is above (Dreamweaver CS6) I need Where Name & Town to filter on? Any help? Quote Link to comment https://forums.phpfreaks.com/topic/299689-where-stuck/ Share on other sites More sharing options...
NotionCommotion Posted December 9, 2015 Share Posted December 9, 2015 ??? SELECT Name, Town, Category FROM customer1 WHERE Name = "Bob" AND Town="San Francisco"; Quote Link to comment https://forums.phpfreaks.com/topic/299689-where-stuck/#findComment-1527743 Share on other sites More sharing options...
mikesta707 Posted December 9, 2015 Share Posted December 9, 2015 Not sure exactly what your asking. If its for a sql query to search based on name and town it would be like SELECT Name, Town, Category FROM customer1 WHERE Name="something" OR Town="something" where something is your search term. Quote Link to comment https://forums.phpfreaks.com/topic/299689-where-stuck/#findComment-1527744 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.