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 ?> 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? 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. Link to comment https://forums.phpfreaks.com/topic/158014-querying-data/#findComment-833507 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.