SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Sep 2006
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    hiding row from loop

    Hello

    I have a table

    post(post_id, user_id, post)

    this query is outputted in a loop in php

    How would I go about excluding certain rows from the loop when a user clicks hide on the row output?

  2. #2
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    Are you looking for a javascript solution, or a php/mysql solution?

    How permanent will this "hide" feature be for hiding rows? Will it hide the row forever, until it's unhidden, until the page is refreshed, or until the user logs out?
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  3. #3
    SitePoint Addict
    Join Date
    Sep 2006
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Force Flow View Post
    Are you looking for a javascript solution, or a php/mysql solution?

    How permanent will this "hide" feature be for hiding rows? Will it hide the row forever, until it's unhidden, until the page is refreshed, or until the user logs out?
    Hi.

    Until its unhidden.


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
  •