im having problems getting results querying two tables but I am not sure of
the correct php syntax for the query statement below.  It always yields 0
results.

$query2 = "select * from dir,free where 'dir.inst' = free.inst'";

This is what I use in mySQL database but I get 0 results when querying from
php.

SELECT*
FROM dir,free
WHERE dir.inst = free.inst

Any help would be greatly appreciated.

felicia





"The last of the human freedoms is to choose one's attitudes." 
-Victor Frankl  
 


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to