SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist runeveryday's Avatar
    Join Date
    Jul 2009
    Posts
    437
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    how to write this command?

    Code:
    $query1= "SELECT label FROM content1 limit 0, 8";
    $query2= "SELECT field1, field2,field3,FROM content2 limit 0, 8";
    the above are two queries to two tables in one database, the first result is age ,language.... the second result is english,15...

    how to write the query code and output in a php file ?the result's display is:
    age:12
    language:english
    count:15

    thanks in advance.
    Outdoor tools online store and wargame tools shop
    with best quality and service.
    comp molle tactical vest tactical clothing etc sell

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,500
    Mentioned
    163 Post(s)
    Tagged
    4 Thread(s)
    Google for "php mysql tutorial" and you'll get tons of nice tutorials. All you have to do is read them and study.

    Or you could hire a programmer...


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
  •