SELECT
quiz_id
FROM
$table_quiz AS q,
$table_user AS u
WHERE
q.user_id=u.user_id AND
u.username='$valid_user' AND
u.password='$valid_password'";
Bogdan
Jule Slootbeek wrote:
> Hey guys and gals,
>
> I have the following function which accesses the following tables, now
> i want to
Read the JOIN chapter of the MySQL manual and it'll tell you how to do
it. It's not a PHP issue.
(watch for line wrapping)
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html
#JOIN
---John Holmes...
> -Original Message-
> From: Jule Slootbeek [mailto:[EMAIL PROTECTE
2 matches
Mail list logo