How can I filter which records are displayed in my dynamic table?

I have what I think is probably an easy question for anyone
who is experienced with PHP/MySQL and Dreamweaver (which I am not).
I have a website where users login, and then have access to
their homepage which displays a dynamic table of all of the records
that they have inserted into a database (this page also has a link
to the form where they submit a record). However, right now I can
only get to display all records that have been inserted instead of
only the ones that they have inserted (which is what I want). How
can I accomplish this?
I already have a session variable, 'MM_username', which
allows me to bind the user_ID to anything I need to, and when a
user inserts a record, their 'user_ID' is already inserted into a
column in that record for that table, so I'd like to display the
dynamic table in a way that filters it out so it only shows the
records that match the logged-in user's 'user_ID'.
I've tried to use the filter function in the recordset dialog
box, nut I just can't get it to work correctly. Any help on this
would be much appreciated!

I already tried that. I set the table to filter out and
display only the records that match the landlord ID to the session
variable(which I named 'Landlord_ID' not 'MM_username ' like I said
earlier). When I tried to simply insert the session variable into
the page just to see what data would show up, the result is just a
blank space, so the session variable itself apparently has no data
value to echo in the PHP form.
Because of that, I have no idea how to tell dreamweaver to
filter based on the Landlord_ID, even though I CAN echo the
landlord ID variable in the recordset, I can't figure out how to
put that runtime value in the filter.

Similar Messages

  • How can I identify which albums are associated with a specific picture.  I used to click on the picture and see the albums but don't know how to do it in 13?

    I keep pictures in Albums, specifically by year and then other topic albums. As a result some pictures are in several albums. Sometimes they are assigned in error.  I used to be able to click on a picture and see not only the tags but the albums associated with the picture.  How can I see which albums are assigned to a picture?

    Are you referring to the yellow text box that pops up like this?
    If it is those are called tooltips or anchor titles.  Cyclosaurus has posted script to block them: removing rollover html detail box: Apple Support Communities.
    OT

  • I have about 5,000 images in a Folder.  How can I determine which images are NOT in a Collection?

    I have about 5,000 images in a Folder.  How can I determine which images are NOT in a Collection?

    Create a smart collection with criteria "collection" and "does not contain"; and also with criterion Folder contains (or folder contains all)
    That works if you are thinking about a specific named collection.
    If you are interested in finding photos that are not in ANY collection, the usual trick is "collection" "does not contain" "a e i o u y"

  • HT4914 How can you tell which songs are downloaded from the cloud on an ipad

    How can you tell which songs are downloaded on the iPad from the cloud?

    I know ipad albums are more like tagging photos rather than putting them in folders. I just have a nagging feeling I missed some pics and I have too many to try to go figure out one by one. I don't look at my photos from the camera roll, only from albums I tagged just because I imported photos from different sources and the dates and order is really messed up. I just want to know that I am viewing all the photos from like this vacation or that event and there's none I missed that are only in the camera roll.

  • How can I know which clients are connected to my network through express and which are connected through extreme?

    I have an airport express extending, through wireless, a network provided by an airport extreme. How can I know which clients are connected to my network through express and which are connected through extreme?
    Here you can see both routers:
    I would expect to some clients connected to the express, other than the extreme. And that's all I see: only the airport extreme appears as client of the airport express.
    Below, one can see the summary of the config for both routers.
    Would somebody explain it?
    Thanks,
    Marcelo
    Message was edited by: Marcelão

    please disregard this answer.
    Message was edited by: Marcelão

  • How can i see which devices are connected to my wireless network?

    how can i see which devices are connected to my wireless network?

    Login to your router and view the DHCP clients.

  • How can I know which photos are in the library was used in each album I have created before.

    How can I know which photos are in the library was used in each album I have created before?
    I have many photos in the library folder of iPhoto, but actually I don't know which photos were used in my album.
    Is there any method to find this?
    Thanks.

    Album or Book?
    If Album you can find the ones not already used:
    File -> New Smart Album
    Album -> is not -> Any
    Regards
    TD

  • How can I check which documents are stored on iCloud?

    How can I check which documents are stored on iCloud?

    Welcome to the Apple Community.
    You can see in a number of ways, the easiest is probably by logging into your account at ...
    iCloud.com
    on your computer.

  • Qosmio G30: How can I manage QosmioPlayer record area?

    I have Toshiba Qosmio G30 I want to know; How can I manage the record area in qosmioplayer ?
    I have 4GB only bul l want to maxmize it .

    Im not 100% sure but I presume its not possible to change (increase) the recording area.
    As far as I know the Qosmio player was installed on an additional partition and the recorded files will be stored on this partition.
    Possibly you will get a bigger recorded area if you increase the Qosmio Player partition size. But this is only a suggestion.
    Greetings

  • TS2972 how can i identify which computers are authorized for i tunes

    How can I identify which computers are authorized for use with I tunes?

    Hi there,
    You can't see a list of your authorised computers, but you can see how many are authorised and deauthorise them individually or together.
    I've found you a relevent support article which explains all of this:
    iTunes Store: About authorization and deauthorization
    Hope this helps,
    Nathan

  • How can  distribute 5 lakhs records from sap R/3 setup tables ?

    How can  distribute 5 lakhs records from sap R/3 setup tables in to multiple  requests in sap BI?

    Hello,
    what is "lakhs" ?
    Please use plain English words on a world wide forum...
    Regards,
    Olivier

  • How can I determine which jobs are running on NT?

    Hello,
    How do I determine which processes are in execution on an NT box from a JAVA
    application? I figure it must involve runtime exec'ing some run32dll
    program, but which one?
    TIA

    Search microsoft.com, or MSDN. That isn't anything to do with Java Programming.

  • How can I select which page to display based upon a log-in?

    I have created a page where the user will enter one of several codes.  I wanted to use the login function and validate the code against a table that I have pre-loaded with these codes.  The code entered would control which page was displayed to the user. 
    (I have identified a community of potential clients, and this group is broken down into 10 unique sub-groups.  Each person receives a mail that includes one of 10 unique 'codes', which identify the sub-group.  When the recipient calls up my website and enters the code (as a user ID), this will determine which of the 10 pages is displayed.  If someone randomly enters (or mis-keys) a value into the promo field a default error page (page #11) would display.)
    Is this possible using the log-in function.  Now that I'm looking at the function, it appears that any successful log-in will be directed to the same page.  If I can't use the log-in function, how can I accomplish this.  In essence, I am looking for the successful codes to act as an "if . . .then . . .else . . " type of logic.  Or, a successful hit on one of records in my table is akin to making a menu selection (that is not available in any other fashion). 
    Any help on this would be greatly appreciated. 
    BTW - kudos to David Powers and Charles Nadeau for the great tutorial on Setting up a PHP development environment for Dreamweaver!

    Thanks so much for the reply. I chose to go with the array and added the following code (my code is in red) :
       if (isset($_SESSION['PrevUrl']) && false) {
          $MM_redirectLoginSuccess = $_SESSION['PrevUrl']; 
    $redirects = array('snj830' => 'promosnj830.php', 'snj141' => 'promosnj141.php', ‘snj416’ => ‘promosnj416’);
        header("Location: " . $redirects[$_SESSION[‘MM_Username]] );
      else {
        header("Location: ". $MM_redirectLoginFailed ); 
    The re-direct on a failed logon is working successfully, but if I enter one of my 3 valid codes, the following screen is displayed:
    Index of /boundsauctions.com/promopages
    Name Last modified Size Description
         Parent Directory             -       
         _notes/      15-Oct-2010 17:40      -       
         errorpage.php      13-Oct-2010 17:24      1.9K       
         promo _login.php      15-Oct-2010 17:40      5.6K       
         promosnj141.php      15-Oct-2010 16:00      6.2K       
         promosnj416.php      15-Oct-2010 15:54      4.6K       
         promosnj830.php      15-Oct-2010 15:55      4.6K       
    As you can see, the last three pages here are the ones that I am trying to display.  Can you tell what I'm doing wrong?

  • In ALV output, select row(s), How can we know which record it has selected?

    Hi Experts,
    In ALV output, there are 10 records (rows) displayed. I want to select specific row (or rows) for mass printing ( I need to assign respective smartform for selected row(s)). How the system (or my self) will recognize that which record it has selected?
    We have one field is called MARK field or etc., which will shows which record selected by indicating 'X' in internal table. I dont know exactly.
    Could you please help me out.
    Thanks in advance.
    Sekhar

    declare a field chk(1) type c in your final itab.
    build fieldcatalaoge for that field.
    when 'CHK'.
    alvfld-checkbox = alvfld-edit = 'X'.
    give a button in alv 'process' with function code 'PRO'.
    then call alv
      call function 'REUSE_ALV_LIST_DISPLAY'
        exporting
          i_callback_program       = sy-repid
          it_fieldcat              = fieldcat[]
          I_CALLBACK_USER_COMMAND = 'USER_COMMAND'.
        tables
          t_outtab                 = it_tvse[].
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    then in form user_command do like this
    form user_command using ucomm like sy-ucomm cursor type slis_selfield.
    case sy-ucomm.
    when 'PRO'.
    Loop at itab where sel = 'X'.
    write your code here.
    endloop.
    endform

  • How do I choose which tags are displayed in Apple TV ?

    There are numerous tags availabe to update for a movie (or TV series) via iTunes.
    However, I would like to choose which tags are actually displayed on my Apple TV.
    How do I customise which tags to view ?

    If you have any suggestions that you think might enhance the Apple TV you can send Apple your feedback here 

Maybe you are looking for

  • "No camera found" message when I connect iphone to Macpro?

    When I connect my iphone 4 to the Macpro it gives me a warning message: no camera found. Is this an iphoto thing? (i never use iphoto) Where do change this pref? I don't want to see this every time I connect.

  • How to store datestamp in infoobject?

    Hi Experts, I want to store datestamp(date with time stamp) into an infoobject.It should not be of type CHAR.and also i dont want two info objects 1 to store date(DATS) and other to store time(TIMS) Please help out Regards, Tanmay

  • Is there any module for Plant maintainence

    Hi all, Can anybody tell me , wethere there is any module in oracle applications for maintainence of machinery of a particular plant(like the one in SAP) . It should include general maintainence, routine maintainence, maintainnence plans etc., --reg

  • MBP started shutting down when moved

    I've had a 17" MPB for several months and it's worked fine all this time, no problems. Upgraded to 10.4.9 a few days ago, didn't start experiencing this problem until today. Here's what's happening: I'm using the laptop at home. I close it up (which

  • X-Fi Xtreme Audio + Windows 7 = Freeze

    &X-Fi Xtreme Audio + Windows 7 = Freeze@ So after installing Windows 7 64bit Build 700, I downloaded the beta drivers and installed them. I went into the Audio/Sound options and selected the proper drivers to use for audio. The first time I did this,