ErnesTo Posted April 25, 2004 Share Posted April 25, 2004 Hi, I'm using this script: SELECT * FROM clientes WHERE email LIKE 'colname%' ORDER BY email ASC and I need to do it in two fields. What can I do? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/1812-dreamweaver-and-mysql/ Share on other sites More sharing options...
shocker-z Posted April 26, 2004 Share Posted April 26, 2004 Try SELECT * FROM clientes WHERE email LIKE 'colname%' AND username LIKE 'whateva' ORDER BY email ASC y are u using colname as the like string? u may have got the wrong end of the stick here Quote Link to comment https://forums.phpfreaks.com/topic/1812-dreamweaver-and-mysql/#findComment-5944 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.