inspireddesign Posted May 13, 2009 Share Posted May 13, 2009 Is there a way to query data in to fields? I'm trying to use the following but it's not producing any results. There is data there based on the information entered in the WHERE statement. <?php SELECT * FROM pilots WHERE pilot_any = 1 & pilot_policy = 109 ?> Quote Link to comment https://forums.phpfreaks.com/topic/158014-querying-data/ Share on other sites More sharing options...
jackpf Posted May 13, 2009 Share Posted May 13, 2009 Is it "AND" you're looking for? Quote Link to comment https://forums.phpfreaks.com/topic/158014-querying-data/#findComment-833503 Share on other sites More sharing options...
Maq Posted May 13, 2009 Share Posted May 13, 2009 I assume this is a MySQL question. jack is correct, it's 'AND'. I suggest you read up on basic MySQL syntax. Quote Link to comment https://forums.phpfreaks.com/topic/158014-querying-data/#findComment-833507 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.