SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    May 2003
    Location
    Truckee
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Select specific row

    Hey,
    I am new to mysql, I have table contains three columns ( ID, pageName, pageText). My question is How to SELECT specific row on the table. For instance I only interested on pageName = "welcome" and pageText that associated with it.

    I hope this make sense.

    Thanks
    J_yasa

  2. #2
    SitePoint Enthusiast mgsninja's Avatar
    Join Date
    Dec 2001
    Location
    Norway
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Like this?
    Code:
    SELECT pageText
    FROM table
    WHERE pageName = "welcome"
    ...

  3. #3
    SitePoint Member
    Join Date
    May 2003
    Location
    Truckee
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey,
    Thanks that all I need.

    J_yasa


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
  •