Show records from current user.  PHP, mySQL, CS3

I'm stuck, can you help???
I have a basic login page where the user is authenticated then directed to another page(User Home Page).  Works great!
Problem is,...On the User Home Page, I'm trying to display the authenticated users data from the mySQL database but don't know how to retrieve that information and display it in the page.
Can you help??

David, looking through this post and the article to which it refers is getting me on the right track for what I want to do...but not completely. Perhaps you can help?
I am using the Authenticate User behaviour to check the validity of a user against a current database, but instead of 'username' and 'password' I am using the two fields for 'firstname' and 'surname' as these are seperate columns in the current database. If the person is listed they are then taken to a page where I want to use both of the above as session variables to display the names in a new form, but also to act as filters to then bring forth further information from the database into the same form.
I have tried the coding using the getUserDetails recordset that has been mentioned elsewhere in this thread, but obviously this has only the one filter.
How can I add the second filter to the code?
Is this possible?
Thanks....Mark

Similar Messages

  • Want to show data from current month & prev month in single record on forms?

    Hello experts,
    i have this requirement:
    Table structure:
    MOnth       Division         totalAmount
    01-apr-2013      1               10000
    01-May-2013    1               20000
    01-apr-2013      2               30000
    01-May-2013    2               50000
    i want to display in forms like
    Form:
    Month  : 01-May-2013
    Month               Division               total               prev_Month          division               total                         dIFFERENCE
    01-May-2013               1              10000                01-Apr-2013               1               20000                        10000
    01-May-2013               2              30000                01-Apr-2013               2               50000                        20000
    I am using two procedure for fetching records for current month and previous month.
    but it will cause problem, if for some division previous month data not present.
    please suggest me some query with which i can fetch current and pre month data in single record.
    Please help me out.
    Thanks
    yash

    I'M NOT SURE BUT TRY IT ............
    select x.mn mnth, x.division, x.totalAmount total, y.mn prev_month,  y.division, y.totalAmount total, (y.totalAmount - nvl(y.totalAmount,0)) difference
    from
      (select month mn, division, totalAmount
      from table_name
      where month = (select max(month)
      from table_name
      ) x,
      (select month mn, division, totalAmount
      from table_name
      where month = (select add_months(max(month),-1)
      from table_name
      ) y
    where x.division = y.division(+)
    MOSTAFIZ MITUL
    DHAKA BANGLADESH

  • Deleting Record from Database in PHP

    I'm trying to figure out how to delete a record from my
    database. I already have a recordset with my form selected. But
    when I try to add "Delete Record," I can never seem to figure out
    why it won't delete anything when I load the page in a browser, it
    won't even go to the page I told it to go to after it deletes a
    record. My guess is it's what I'm entering in the "Delete Record"
    part of it, any help would be great. Also, my id is primary key if
    that helps. Thanks ahead of time.

    edwin@aw wrote:
    > However, whenever I click on the hyperlink, the link
    will becomes
    >
    http://www.domain.com/www.LinkFromDatabase.com.
    Why it always append the web
    > site's address?? Do I miss something?
    This is happening because your link doesn't begin with
    http://.
    > echo "<a href='$link' target='_blank'> $link
    </a>";
    This should be echo "<a href='
    http://$link' target='_blank'> $link
    </a>";
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • F-53  Doc. No. Fields showing Different from Different User ID

    Dear Experts,
    There have some field related problem in f-53 t code. When I Login from my ID in f-53, selecting doc. no. radio button at Aditional Selection  and enter the it is showing 27 fields, but when I login from another user id then it is showing 20 fields.
    Anybody can tell me where is the problem? There have any configuration on that?
    Sourav

    Dear:
                Please execute SU53 in both users after when you have executed F-53 and see missing line items. There seems a missing authorization for some documents. Please also check the input criteria given by you in F-53 like company code and vendor.
    Regards
    Edited by: Atif Farooq on Jun 4, 2011 8:00 AM

  • How to show records from xml file

    HI All
    I have created one region its actually search region
    which having 5 items and result table region
    I want to search records based on that 5 items and want to show output in table
    I have table name as hr_api_transactions which contains lot of columns
    and that table also contain one column
    name as TRANSACTION_DOCUMENT of type CLOB()
    that columns xml files for each record
    I want to extract data from that xml file and want to display.

    I have created one region on seeded page
    in that region I have created one table for output
    that region is search region
    which having 5 items of textfield and 2 items of type submit button
    GO and Clear
    I want to search based on that 5 items
    I want to display records in table that I have created on that region
    I have one seeded table
    that contain one column
    that column contain xml file for each individual records
    that xaml file contains values what I want to display
    MY problems are
    how can I extract data from xml file?
    how can I show all values for each records on that table?
    how can I search based on that 5 items?
    now I am able to find out single value from that XML file
    by using SQL command
    select xmltype(transaction_document).extract('//IrcPostingContentsVlEORow/CreationDate/text()').getStringVal() CreationDate
    from hr_api_transactions
    where transaction_ref_table = 'PER_ALL_VACANCIES'
    and transaction_ref_id = 4693;how can I extract more than one records from that XML file

  • Task manager show process from all user

    Hi All,
    Need a help.
    I need to enable "task manager show all show process" for all normal users(view like XP) irrespective of admin or not.
    Can any one help me how to go about this through GPO. I searched a lot in net but could not found any convincing solution for this.

    This is not possible. User processes are isolated from each other. Only administrators can retrieve information about processes from other users. Either make your users local admin, or tell them this is not possible.
    This is because of the security design which isolates users from other processes (service processes and other users' processes)
    there are many things that don't work anymore. For example, on XP it was possible to give service applications a user interface (for example for disgnostic or development purposes). From Vista onwards this is no longer possible because allowing users to
    interact with service applications is a security risk.
    There are many such changes, and you have to update your processes accordingly.

  • Find text from current insertion point - indesign cs3 javascript

    Hi all,
    I need to find the text from the insertion point in CS3 document through javascipt. Built in indesign has this feature. I want to do this in my script.
    Anybody have the idea/solutions for ths...
    Thanks,
    Vaasu

    Thanks csm_phil for your interest... see my below code:
    if(app.documents.length>0)
        myDoc=app.activeDocument;
        var myFoundchar=new Array();
        app.findTextPreferences = NothingEnum.nothing;
        app.changeTextPreferences = NothingEnum.nothing;
        app.findGrepPreferences=     NothingEnum.nothing;
        app.findGrepPreferences.fontStyle="Italic"
        app.findGrepPreferences.findWhat ="[\\l\\u].+?( v\. ).+" //"(.+?(v\.).+)";
    var myResults = myDoc.findGrep();
    for (var i = 0; i < myResults.length; i++)
            alert(myResults[i].contents);
        app.findGrepPreferences=     NothingEnum.nothing;
        app.findGrepPreferences.findWhat =", \\d{1,}.+?\\d{4}?\\) ";
        var mySearch = myDoc.findGrep();
        app.select(mySearch[0].insertionPoints[0]);
        alert(mySearch[0].contents);
        app.findGrepPreferences = null;
    alert("Done");
    here i am trying the fetch the Table of cases, example find results are
    Sears, Roebuck & Co. v. Camp, 124 N.J. Eq. 403, 407 (E. & A. 1938)
    Sears, Roebuck & Co. v. Camp, 124 N.J. Eq. 403, 408 (E. & A. 1938)
    Gramatan Nat’l Bank & Trust Co. v. Backman, 30 N.J. Super. 349 (App. Div. 1954)
    So, the 2nd search mysearch always giving first line output above.           , 124 N.J. Eq. 403, 407 (E. & A. 1938)
    If i use the  mySearch[i].contents sometimes it doesn't give the correct result. Since, if gives if other than the case name ends with , and digits. It makes the result totally wrong.
    Thanks,
    vaasu

  • How to copy the International settings from current user to default user/welcome screen on Windows 8.1/ Server 2012R2 via PS script?

    Hi,
    I have to script the international settings in virtual machines which are Win Server 2012R2 or Win 8/8.1.
    For the current user, it's quite easy.
    new-WinUserLanguageList nl-BE
    set-WinUserLanguageList nl-BE
    Set-WinSystemLocale nl-BE
    set-Culture nl-BE
    But how can I copy these settings to the Default user/Welcome screen? I cannot find a solution for that. Even on the site of Microsoft,
    http://technet.microsoft.com/en-us/library/hh852115.aspx all CMDlets are only for the current user.
    Maybe I'm looking with the wrong keywords, but... With Powershell v4 it should be possible, isn't it?
    Thanks for looking together and hopefully we can find an answer.
    Kind reg,
    Dirk

    Questions like this would best be answered in the deployment forum.
    The default lock screen tracks the current user.  The system lock screen tracks the local system admin account.
    There is a SYSTEM profile which, I believe, can be set via registry.
    http://social.technet.microsoft.com/Forums/windows/en-US/20d36ce4-c948-4c68-a415-dda9e0665159/setting-default-ui-in-windows-8-or-81-using-dism-online-setuilangenus-gives-error?forum=w8itproinstall
    ¯\_(ツ)_/¯

  • How to fill the records from a User Define Table to PO item Grid

    Hi To all,
    I need to fill data from User Define table records into Purchase Order Item Grid.
    I created an UDF Filed in PO - Header Part - "PRS"(Filed Name)
    By using Formatted Search in itemcode column, i called a query,
    "Select itemcode, qty from (@user define tablename) where PRS = $http://OPOR.U_PRS"
    For eg:
    Output from querry
    ItemCode Qty
    ABC 1
    DEF 2
    DFG 7
    SDGD 9
    By using formatted search it is filling only first data in to itemcode column in PO Grid.
    Please help, how can i fill ALL the data in to my PO Grid?
    Thanks in Advance
    SAGAR

    The easisest way is to create datasource and the result bind to grid.
    Datasource:
               oDBDataSource = oForm.DataSources.DBDataSources.Add("@usertablename")
                Dim xoConditions As SAPbouiCOM.Conditions
                Dim xoCondition As SAPbouiCOM.Condition
                xoConditions = New SAPbouiCOM.Conditions
                xoCondition = xoConditions.Add
                xoCondition.BracketOpenNum = 1
                xoCondition.Alias = "u_zn"
                xoCondition.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                xoCondition.CondVal = "cond"
                xoCondition.BracketCloseNum = 1
                oDBDataSource.Query(xoConditions)
    binding (example for matrix, in grid is simillar)
                oMatrix.Clear()
                Dim cols As SAPbouiCOM.Columns
                Dim column As SAPbouiCOM.Column
                cols = oMatrix.Columns
                column = cols.Item("colX")
                column.DataBind.SetBound(True, "@usertable", "u_x")
    oMatrix.LoadFromDataSource()
    hoep it helps
    Petr

  • Update multiple records on one page php/mysql

    Hi folks,
    I am trying to adapt a page to offer the option to update multiple records on one page.
    The intention is to edit FAQ categories which are contained in a table with just two fields - the category and an id.
    The page lists each categories in a form with a submit button which is then repeated for each record in the recordset.
    Unfortunately my plan didn't work and only the first record updates as intended.
    Can anyone suggest how I can make it work?
    Here's the code I have so far.
    ************** The Update Code *****************
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if (!isset($mm_abort_edit) || !$mm_abort_edit) {
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
      $updateSQL = sprintf("UPDATE faq_categories SET category=%s WHERE id=%s",
                           GetSQLValueString($_POST['category'], "text"),
                           GetSQLValueString($_POST['id'], "int"));
      mysql_select_db($database_con_mysite, $con_mysite);
      $Result1 = mysql_query($updateSQL, $con_mysite) or die(mysql_error());
      $updateGoTo = "faq-category-edit.php
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $updateGoTo));
    ************** Update Code Ends *****************
    ************** The Form *****************
    <form name="frm_editcategory" id="frm_editcategory" method="POST" action="<?php echo $editFormAction; ?>">
      <?php do { ?>
    <fieldset>
              <input name="id" type="hidden" value="<?php echo $row_rs_faqcategory['id']; ?>" />
              <input name="category" type="text" class="formrightcolumn"  value="<?php echo $row_rs_faqcategory['category']; ?>" />
              <input name="save" type="submit" class="submitbutton" id="save" value="save" />
    </fieldset>
              <input type="hidden" name="MM_update" value="form1" />
       <?php } while ($row_rs_faqcategory = mysql_fetch_assoc($rs_faqcategory)); ?>
    </form>
    ************** The Form Ends *****************
    Cheers
    Dave

    What does debugging tell you? What's the value of each of the variables? Did you try using regular echo statements to monitor what's going on? That's what I always do whenever I am stuck in my PHP coding.

  • Removing Apps from past users to replace with apps from current user

    I wondered if anyone could help me. I bought a MacBook Pro a few years ago and signed in to the AppStore as myself to download software i.e. iMovie etc. Recently I bought a new iMac and am giving the MacBook Pro to my wife. I have changed everything to her name but we are still getting apps I downloaded appear for updates and asking for my login. Is there a way we can remove these apps so that she can buy her own instances of them and not have to have me log in for her each time to update. Somehow since we have sync'd her iphone to this machine there are some iphone apps appearing on her phone that only I have downloaded. Now she can not delete them and try and download her own versions from the app store. Its quite odd if you ask me and any help woul dbe greatly appreciated!
    Thanks

    This would do it:
    http://support.apple.com/kb/ht5189

  • The monitors of on location CS3 not showing image from Sony FX7

    O.L records OK and plays back but at no time do
    any of the monitors show an image. Was OK in Vista now gone to Windows 7
    Pre Pro CS3 ok on 7 (capture and playback.) Any suggestions please

    Dear Sir, Many many thanks for your very detailed answer everything works just fine. I'm not sure wether I should reply to your answer elsewhere please advise me if this is the case.
    thanks again William sign on name Breezley.
    Date: Mon, 4 Jan 2010 18:44:18 -0700
    From: [email protected]
    To: [email protected]
    Subject: the monitors of on location CS3 not showing image from Sony FX7
    Breezley,
    OnLocation CS3 used Direct Draw to create the video window.  In Vista, you may have noticed that OnLocation CS3 would disable 'Aero' themed desktops as they did not support Direct Draw.  Windows 7 does not have this functionality, so you must disable the Aero theme manually to see the video in OnLocation CS3.
    To do this, right click on open desktop and choose Personalize.
    This will display available Themes.
    Scroll down to the 'Basic and High Contrast Themes'.
    Choose any one of the basic or high contrast themes.
    Restart OnLocation CS3.
    This should bring your video back into view.
    >

  • PHP/MySQL Test/Production Server best practices

    Hello,
         I am currently learning PHP/MySql and have setup a test server to develop on and a production server to go live with. I wanted to know what are the best practices for synchronizing the test server with the production. Should I export the database from the test server and import it to the production server each time I make a change or is there better way to incrementally sync the databases. I am using Dreamweaver to design the web site.
    Thanks,
    Nick

    Thanks, but does this mean that after I go live I should make changes on the production database only and not use the development database, if say I need to add a new table or record(s)?
    Procedure
    1. Take production web site down
    2. Export/Save current database
    3. Make changes to production database
    4. Export/Save new database
    5. Bring production web site up
    Is this correct?

  • How I can reasign al records from User1 to User2

    Hellow
    I need reasign all records from a user to other user. i need to change all Updated By or Creted By from User 1 to User 2. It`s that posible?
    Or is necesary a DDBB updated?
    Thank you for all yours answers.

    It depends on your needs.
    You can create a workflow that updates owner to the new user.  You would then need to submit the workflow as a batch job, and use a search spec on the batch job, so that it will only execute against records owned by that user.
    You would need to repeat this step for each business object involved (ex. Service Requests and Activities)
    Alternatively, you could achieve similar with Batch Assignment, an Assignment rule and a search spec.
    We do not support making the change at the DB level.

  • I can't download Firefox because it doesn't recognize me as either the Adminsitrator or Current User.

    There are 2 options to choose from: Current User (with my name on it) and Administrator. I am both the current user and the Administrator. When I choose the Current user option, nothing happens. When I choose the Administrator option and include my Administrator password, nothing happens. Firefox never used to be this difficult to download before. What happened? I've been trying to do this for more than 3 hours now! :(

    Hello, if the above the-edmeister's reply does not help, then try to boot the computer in [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows Safe Mode with network support] (press F8 on the boot screen) and then see if that allows to install Firefox from the the-edmeister's above link.
    thank you

Maybe you are looking for

  • Function Module "where used list"

    I'm looking for a function module which does the same as the where used list: i want to have all tables conataining a special field e.g. mandt. Is there such a FM available?

  • Foreign trade/ custom

    Folks, What is business scenario where we need to configure Foreign trade/Customs? Do we need to configure it for export sales, if yes how it works and what configuration need to check. Thanks

  • PhotoShop Elements 9 Time Machine Help

    I had a unsaved Photoshop Elements 9 project open when my computer froze up and I had to shut down. How do I restore it with Time Machine?

  • Strange pop-up message after opening LR, import and synchronize disabled, must force quit to close

    I recently started getting this message when running Lightroom and not only does it seem to disable both "Import" and "Synchronize" but it won't close. Nothing happens when I click stop and in order to close my catalog I have to force quit. Any help

  • Task Assignment Notes in Reporting Database

    Hi, I am working on a requirement to display task Assignment level comments (entered by Task Assignees in My Tasks screen) in a Report from Reporting Database. I would like to know the tables from where this information can be queried. Please note th