SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 1999
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, I want to try this statement on my site with no success. Can you help me out here?

    $result = mysql_query("SELECT * FROM cameraslist, graphicssoundlist, displaylist, modemslist, networkinglist WHERE $string $s1,$s2", $db);

    I can trying to select data from multiple tables.


  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What are you trying to do in your where clause?

    $result = mysql_query("SELECT * FROM cameraslist, graphicssoundlist, displaylist, modemslist, networkinglist WHERE $string $s1,$s2", $db);


  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 1999
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>Originally posted by freddydoesphp:
    What are you trying to do in your where clause?

    $result = mysql_query("SELECT * FROM cameraslist, graphicssoundlist, displaylist, modemslist, networkinglist WHERE $string $s1,$s2", $db);

    <HR></BLOCKQUOTE>

    Actually, I am trying to retieve data from the following tables: cameraslist, graphicssoundlist, displaylist, modemslist, networkinglist



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •