53 users online (0 members and 53 guests)  


  Results 1 to 2 of 2

Related

  1. how i include a table in multiple sites?    Forum: HTML Forum
    Replies: 3
  2. create table in mysql from php forms    Forum: PHP Forum
    Replies: 2
  3. Replies: 1
  4. Replies: 0
  1. #1
    stolemkd's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2006
    Posts
    1

    Help on multiple table's with MySQL with PHP

    Just want to know if there is a way to use a SELECT statement on one table and use other table's inside it without declaring them on the FROM statement. Exmpl:

    SELECT *
    FROM Igraat
    WHERE (Igraat.ID != Utakmica.IDIgra) AND (Utakmica.IDUser = '$_SESSION[username]')

    This doesen't return anything.

  2. #2
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: Help on multiple table's with MySQL with PHP

    http://dev.mysql.com/doc
    Search for JOIN



Tags for this Thread