RE: [PHP] Code Help Please

2003-05-31 Thread Jennifer Goodie
> I need to find if table1.username = table2.domain/table2.username is If you are using mySQL you can use CONCAT table1.username = CONCAT(table2.domain,'/',table2.username) http://www.mysql.com/doc/en/String_functions.html#IDX1174 -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Code Help Please

2003-05-31 Thread [-^-!-%-
Hello all ! Need a little help here. Is there a way to "translate" variables/field names in an SQL statement? I need to compare the "content" of two database fields that are in different tables. The trick, though, is that I need to join two fields together (as a string) before I compare it. For