Jump to content

Archived

This topic is now archived and is closed to further replies.

ErnesTo

Dreamweaver and MySQL

Recommended Posts

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 <_<

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.