Re: problem with getting info from 2 tables in PHP / MySQL
- From: "utque" <utqsall@xxxxxxxxx>
- Date: 3 Aug 2005 00:30:18 -0700
while you are accessing the sql database, try using the INNER JOIN
command.
$sql = mysql_query("SELECT * FROM logintableb INNER JOIN datatable
WHERE
logintable.school = datatable.school");
I am not sure of it but trying doesn't hurt.
.
- References:
- Prev by Date: Re: problem with getting info from 2 tables in PHP / MySQL
- Next by Date: Re: problem with getting info from 2 tables in PHP / MySQL
- Previous by thread: Re: problem with getting info from 2 tables in PHP / MySQL
- Next by thread: Re: problem with getting info from 2 tables in PHP / MySQL
- Index(es):
Relevant Pages
|