Variable for the name of the database or server?

Can we use the BI Publisher variables in a model of EBS?
We are on 11.5.10.2 and we would be able to identify


I'm <? xdoxslt:get_variable($_XDOCTX,'CURRENT_SERVER_NAME')? >, but it does not work. Is there a documentation on the variables that are available?
We want to do in the model, rather than changing all of our programs of rdf to return the name of the database.


Thank you
Angie

To be more precise, such set of values are available in 10.1.3.4.1 (stand-alone version) according to the documentation:
http://download.Oracle.com/docs/CD/E12844_01/doc/BIP.1013/e14667/TOC.htm#BABIEJJI

Not sure if it's available in XMLP however.

In addition, if it is still he wouldn't return the name of the database. See if my previous suggestion might work for you.

see you soon

Jorge
PS If you find the answer to your question please give the points and close the message

Tags: Business Intelligence

Similar Questions

  • ORA-16783: could not resolve the deficit for the database

    I have two databases emadb and emadbdg, governed by Data Guard. emadb is currently principal. emadbdg is currently pending physical.

    ORA16783 - cannot solve the gap for the database is one I think, is the origin of the problem. Anyone can help solve the problem below. Logs attached.

    Output of data protection

    DGMGRL > show detailed configuration

    Configuration - DRSolution

    Protection mode: MaxAvailability
    Databases:
    emadb - primary database
    Error: ORA-16825: multiple errors or warnings, including failover quick start or warnings, errors detected for the database

    emadbdg - (*) Physical standby database
    WARNING: ORA-16817: configuration not synchronized rapid failover

    (*) Fast failover target

    Properties:
    FastStartFailoverThreshold = "30"
    OperationTimeout = "30"
    FastStartFailoverLagLimit = "30"
    CommunicationTimeout = "180"
    FastStartFailoverAutoReinstate = 'TRUE '.
    FastStartFailoverPmyShutdown = "FALSE".
    BystandersFollowRoleChange = "ALL".

    Fast-Start Failover: ENABLED

    Threshold: 30 seconds
    Target: emadbdg
    Observer: emarn1
    Offset limit: 30 seconds (do not use)
    Primary closure: FALSE
    Auto-Rétablir: TRUE

    The configuration status:
    ERROR


    DGMGRL > see the detailed database emadb

    Database - emadb

    Role: PRIMARY
    State of destination: TRANSPORT-WE
    Occurrence (s):
    emadb

    Database error (s):
    ORA-16783: could not resolve the deficit for the database emadbdg

    Warning (s) of database:
    ORA-16817: unsynchronized fast-start failover configuration

    Properties:
    DGConnectIdentifier = "emadb.
    ObserverConnectIdentifier = "
    LogXptMode = "SYNCHRONIZE".
    DelayMins = '0'
    Binding = "optional."
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = "300"
    NetTimeout = "30"
    RedoCompression = "DISABLE."
    LogShipping = 'ON '.
    PreferredApplyInstance = "
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO '.
    StandbyFileManagement = 'AUTO '.
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = "4"
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = 'emadbdg, emadb '.
    LogFileNameConvert = "/ opt/app/oracle/oradata/emadbdg, / opt/app/oracle/oradata/emadb '"
    FastStartFailoverTarget = "emadbdg".
    InconsistentProperties = "(monitor).
    InconsistentLogXptProps = "(monitor).
    SendQEntries = "(monitor).
    LogXptStatus = "(monitor).
    RecvQEntries = "(monitor).
    Nom_sid = "emadb.
    StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=emarn1) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = emadb_DGMGRL) (INSTANCE_NAME = emadb)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = "/ opt/app/oracle/oradata/emadb/archivelog1.
    AlternateLocation = "
    LogArchiveTrace = '0'
    LogArchiveFormat = '% t_%s_%r.dbf '.
    TopWaitEvents = "(monitor).

    State of the database:
    ERROR

    DGMGRL > see the detailed database emadbdg

    Database - emadbdg

    Role: STANDBY PHYSICS
    State of destination: apply
    Transport delay: (unknown)
    Apply the Lag: (unknown)
    Real-time query: OFF
    Occurrence (s):
    emadbdg

    Warning (s) of database:
    ORA-16817: unsynchronized fast-start failover configuration

    Properties:
    DGConnectIdentifier = "emadbdg".
    ObserverConnectIdentifier = "
    LogXptMode = "SYNCHRONIZE".
    DelayMins = '0'
    Binding = "OPTIONAL."
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = "300"
    NetTimeout = "30"
    RedoCompression = "DISABLE."
    LogShipping = 'ON '.
    PreferredApplyInstance = "
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO '.
    StandbyFileManagement = 'AUTO '.
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = "4"
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = 'emadb, emadbdg '.
    LogFileNameConvert = "/ opt/app/oracle/oradata/emadb, / opt/app/oracle/oradata/emadbdg '"
    FastStartFailoverTarget = "emadb.
    InconsistentProperties = "(monitor).
    InconsistentLogXptProps = "(monitor).
    SendQEntries = "(monitor).
    LogXptStatus = "(monitor).
    RecvQEntries = "(monitor).
    Nom_sid = "emadbdg".
    StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=emarn2) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = emadbdg_DGMGRL) (INSTANCE_NAME = emadbdg)(SERVER=DEDICATED)))'
    StandbyArchiveLocation = "/ opt/app/oracle/oradata/emadbdg/archivelog1.
    AlternateLocation = "
    LogArchiveTrace = '0'
    LogArchiveFormat = '% t_%s_%r.dbf '.
    TopWaitEvents = "(monitor).

    State of the database:
    WARNING

    DGMGRL >
    DGMGRL >
    DGMGRL >
    DGMGRL >
    DGMGRL > output

    Alex Antony Samantha wrote:


    Head node

    SQL> archive log list
    Database log mode            Archive Mode
    Automatic archival            Enabled
    Archive destination            /opt/app/oracle/oradata/emadb/archivelog1
    Oldest online log sequence     65
    Next log sequence to archive   67
    Current log sequence            67
    
    SQL> select thread#,max(sequence#) from v$archived_log group by thread#;
    
    THREAD# MAX(SEQUENCE#)
    ---------- --------------
          1           925
    

    It is misleading to the column sequence, sequence of real number is 65 series, but it's beyond. Have you restored any old backup with the incarnation?
    When you perform incremental backups, is the current_scn in the two primaries and Eve was balanced?

    And the sequence number * 29 * is transferred from the primary to the standby (or) he has been removed from the primary?
    Perform the two methods.

    (1) SQL > alter system set log_archive_dest_state_2 = 'reporter ';
    (2) conduct 3-4 log switches
    (3) SQL > alter system set log_archive_dest_state_2 = 'enable '.

    and displays the alert log database and backup files.
    And you mentioned the hostname in the entries of the listener, if this entry is added in/etc/hosts? otherwise you can use the IP address instead of the host name and then reload the listener.

    second method
    (1) copy archives missing from primary sequence of 29
    (2) place manually and then perform a recovery
    or
    (3) retrieve manually

    And update with your conclusions after all these lists.
    Thank you.

  • Can Oracle 10g - I use a variable for the access of the user identifywhat tablesto?

    I have the following code in a trigger (PL/Sql block) of a form:

    Select fieldname in user1.sometable myvar;

    is it possible to use a variable instead of coding hard "user1"? And on the same subject, this variable would also be declared in the world?

    Thanks in advance,
    Darren

    Hello!

    User1 is the owner of the table sometable.

    If only the User1 runs your form, there is no need to put the tableowner in front of the tablename parameter.

    If other users run your form, you must create a public or private (for each user) synonym of this table.
    After that, you don't need to use owner.tablename in your sql statement.

    But:
    You cannot use a variable for the user name without using dynamic sql
    as you do if you create a recordgroup.

    Concerning

  • Using a Global Variable for the input recorder DisplayRange

    I'm assuming; Since I can't do it; that you cannot change the display range of a graphic recorder by using a variable.  If there is a way I'd love to know how.

    Thank you!

    Determine if you can use a global variable is to click right in the parameter field. If the global variable is available in the context menu, then you can use a variable y.

    You can use a variable of the y-axis from the settings.

    You cannot use a variable for the display range of the x-axis parameter. This is because DASYLab needs to know the amount of memory to be allocated at the beginning of the measure.

  • How to make appear a message that can enter some settings such as a variable for the next step?

    Hi all

    How to the dialog box or window pop up a message that can input some parameters as a variable for the next step?

    My sense is if Teststand stage can do that, not using Labview or other language.

    Thank you

    BR

    Johnny

    Take a look at the Options of a stage of pop-up Message tab. The response is returned in Step.Result.Response.

  • ashrpt - ORA-20200: samples of ASH NO exist for the DATABASE/Instance

    Hello guyes,

    Please could you help me with the generation of the report of ASHES? I have the stack on:
    "ORA-20200: NO samples of ASH does exist for the DATABASE Instance / '.

    I tried to find how to sample, but the only things I found is for statspack or awr.

    Thanks a lot :)

    redy007 wrote:
    sb92075:
    SYS@PMBTEST > select * from v version $;

    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11 g Release 11.2.0.2.0 - 64 bit version of PL/SQL Production 11.2.0.2.0 - Production
    CORE Production 11.2.0.2.0
    AMT for Linux: Version 11.2.0.2.0 - Production NLSRTL Version 11.2.0.2.0 - Production

    The active Session history exists only in the Enterprise edition.

  • How can I add session variables for the subject field and the body of the e-mail Message?

    How can I add session variables for the subject field and the body of the e-mail Message? Tried several combinations, but do not seem to correct the syntax.

    This is the code I have. I need to change all the form variables in $msg in session variables. The $to part is supported. What remains are the $subject and $msg fields.

    $à = « à : ». $_SESSION ["toemail"];
    $subject = '$firstname $lastname, your registration details ';
    $from = "from: [email protected]"; "
    $msg = "Dear $title $firstname $lastname\r\n\nThank for the registration for the design of your dream Home.\r\nWe have received this following details details of you-\r\n\nClient-\r\n\nOccupation: $occupation \r\nPhone No.: $phone \r\nE-mail: $email\r\n\nPresent $ location: \r\n location\r\n\nPresent address: \r\n$ address\r\n\n\nFollowing are specified by you - design requirements \r\n\nBasic Features\r\n\nNo." floors: $floors\r\nNo. of bedrooms: bedrooms\r\nNo of $. of bathrooms: $bathrooms\r\nFloor region: $sqft\r\n\nFurther Suggestions: $ Plan\r\n\nSplit one further\r\n\n\nType floor: $splitfloor\r\n-remarks: $splitfloorremarks\r\nOpen floor: $openfloor\r\n-remarks: $openfloorremarks\r\n\n\nList of the rooms to be Included\r\n\nFoyer: $foyer\r\n-remarks: $foyerremarks\r\nDrawing: $drawing\r\n-remarks: $ alive drawingremarks\r\nFormal: $formalliving\r\n-comments : $ alive formallivingremarks\r\nFamily: $familyliving\r\n-remarks: $familylivingremarks\r\nHome Office: $homeoffice\r\n-remarks: $homeofficeremarks\r\nDining: $dining\r\n-remarks: $diningremarks\r\nMaster room: $master\r\n-remarks: $masterremarks\r\nMaster bathroom: $masterbath\r\n-remarks: $masterbathremarks\r\nMaster Dressing: $masterdress\r\n-remarks: $masterdressremarks\r\nBedroom: $bed\r\n-remarks: $bedremarks\r\nBathroom: $bath\r\n-remarks: $bathremarks\r\nDress: $dress\r\n-comments : $dressremarks\r\nStudy: $study\r\n-remarks: $studyremarks\r\nLibrary: $library\r\n-remarks: $libraryremarks\r\nPowder room: $powder\r\n-remarks: $powderremarks\r\nPrayer room: $prayer\r\n-remarks: $prayerremarks\r\nKitchen: $kitchen\r\n-remarks: $kitchenremarks\r\nPantry: $pantry\r\n-remarks: $pantryremarks\r\nUtility/area of work: $utility\r\n-remarks: $utilityremarks\r\nBalcony: $balcony\r\n-remarks: $balconyremarks\r\nStore: $store\r\n-remarks: $storeremarks\r\nLaundry : $laundry\r\n-remarks: $laundryremarks\r\nVeranda: $veranda\r\n-remarks: $verandaremarks\r\nCar porch: $carporch\r\n-remarks: $carporchremarks\r\nGarage: $garage\r\n-remarks: Theater garageremarks\r\nHome $: $theater\r\n-remarks: room of $theaterremarks\r\nMaid: $maid\r\n-remarks: $maidremarks\r\n\nOther general remarks: $general\r\n\nPlease note that the fields have been left blank in your form will be considered undecided details and used in discretion.\r\nIf of the architect , it better to add more later, design requirements please feel free to reply to this email with the details. « ;
    $fla = mail ($to, $subject, $msg, $from);

    Thanks in advance!

    askintrades wrote:

    How can I add session variables for the subject field and the body of the e-mail Message?

    What you want to do? Given the nature of your question, it seems that you probably don't know what a session variable is used. The PHP manual describes the purpose of sessions here: http://docs.php.net/manual/en/intro.session.php.

    I need to change all the form variables in $msg in session variables. The $to part is supported. What remains are the $subject and $msg fields.

    $à = « à : ». $_SESSION ["toemail"];

    Why do you need to change the form variables in session variables? They are already stored in session variables, or they come directly from the form?

    The $to part is not supported. When you pass $to to the mail() function, it should contain only an e-mail address, not a string that begins with "to:

  • How to determine the level of Group of patches for the database Oracle EBS Server?

    Dear
    How findout patches for the database server Oracle EBS group level i.e. 10.2.0.3?

    Concerning

    Dear Suzy,

    I was looking for a patch of database being upgraded. After the database owner (enviroment) to supply file, I used the following command from $ORACLE_RDBMS_HOME/OPatch directory, command like $ OPatch lsinventory, he listed all the patches and updated patch also.

    'OPatch lsinventory' must list all patches applied to $RDBMS_ORACLE_HOME. For the level of database of the Group of hotfixes, you can use one of the instructions above to get the version. In addition, you can check to the BONE by running executable files (i.e. sqlplus, impdb... etc).

    And on request, I used-> -use $AD_TOP/sql/adutconf.sql , it is perfectly correct.

    Ok.

    But I can't go through of OAM,-diagnostics of Applications using, you can guide me. When I select plan of the site-diagnosis & repair - run diagnostic tests, it error. Say year error has occurred!
    Please note: you don't have sufficient privileges to perform this function.

    OAM and Diagnostics Applications are two different things.

    Diagnostics of applications can be run from "Oracle Diagnostic Tool".

    Note: 358831,1 - E-Business Suite Diagnostics run Instructions
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=358831.1

    Note: 167000.1 - Installation Guide for E-Business Suite Diagnostics
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=167000.1

    For the Group of hotfixes in OAM, follow the steps described in the following note:

    Note: 550654.1 - how to get patches Oracle Applications products in R12 group level
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=550654.1

    Kind regards
    Hussein

  • A Dell PowerEdge 2850 server is used for the new ESXi server, but it does not support the 64-bit VM.

    A Dell PowerEdge 2850 server is used for the new ESXi server, but it does not support the 64-bit VM.

    I can't believe it.

    When I start up a virtual computer, it gives a wrong message shown in the picture below.

    Does anyone have any ideas on this?

    Usually not enabled virtualization technology in host BIOS.

    Take a look at can not power on a 64-bit Windows VM

  • Dynamic JNDI name for the database in BPEL adapter

    Hi all

    I have some problems trying to give the JNDI location for the dynamic database adapter (10.1.3.4). I already went through the following link, but that has not worked for me: http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html

    The example below works, but only the first round. Second time around the first tracks JNDI value gets stored and connects to this database.

    That's what at least worked the first time.

    I set the JNDI with a variable defined in the definition of partnerlink in the bpel.xml

    In Bpel. XML

    < partnerLinkBinding name = "updatetbl" >
    < property name = "wsdlLocation" > updatetbl.wsdl < / property >
    < property name = "CONN" > eis/DB/na < / property >
    < property name = "retryInterval" > 60 < / property >
    < / partnerLinkBinding >



    In the updatetbl.wsdl file

    < service name = "updatetbl" >
    < name of port = "updatetbl_pt" binding = "tns:updatetbl_binding" >
    < jca:address location = "$CONN" / >
    < / port >
    < / service >


    At runtime, I change the variable CONN partnerlink in embedded Java.


    Try
    {
    Element targetAdapterElement = (Element) getVariableData("Invoke_getFromTbl_OutputVariable","getFromTblOutputCollection","/ns2:getFromTblOutputCollection/ns2:getFromTblOutput/ns2:SRC_JNDI");
    getLocator ().lookupProcess("JndiIssueTest").getDescriptor () .getPartnerLinkBindings () .getPartnerLinkBinding ("updatetbl") .setPropertyValue ("CONN", targetAdapterElement.getTextContent ());
    ("updatetbl").GetPropertyValue ("CONN"));
    }
    catch (Exception ex)
    {
    addAuditTrailEntry ("Error is" + ex);
    }


    It works fine the first time but the second time I launch it looks like a different value of CONN, it connects somehow always using the first value of tracks!

    If I redeploy or erase the cache WSDL, it works. But we intend to run it several times to several environment manually or programmatically clearing WSDL is not the right solution.

    Can someone tell me what is the standard process to do to make it work every time?

    Thank you
    Shaf

    Shaf,

    Please refer to the thread of e-mail for more details. If you want I can send you (send me your email id) the sample BPEL process that uses dynamic JNDI.

    Re: How to outsource the JNDI name (dynamically set the JNDI name)

    Thank you

    Sen

  • By specifying the host name for the database during installation

    I installed the database 11g r2 as a Server Desktop, anywhere during the installation it asked me to review or change the host name. It is automatically used as the host name "localhost" and wrote in listener.ora, so no other machine on the network is able to use it. Only, it connects since within the same machine. Please help how to specify the host name during installation.

    Published by: user4928701 on July 8, 2011 23:15

    user4928701 wrote:
    I installed the database 11g r2 as a Server Desktop, anywhere during the installation it asked me to review or change the host name. It is automatically used as the host name "localhost" and wrote in listener.ora, so no other machine on the network is able to use it. Only, it connects since within the same machine. Please help how to specify the host name during installation.

    Published by: user4928701 on July 8, 2011 23:15

    lsnrctl stop

    move/rename listener.ora to new/other file name

    lsnrctl start

  • VM Variable for the virtual computer object

    Hello

    I am connected to multiple vcenters where we have a few VM objects that have the same name (no duplicates in the vcenter even).

    and I need to run a vm - get when you are connected to the 2 vcenters and store that in a variable $vms

    It is always the case for virtual machines with the same name that if a virtual machine is running in a vcenter, it is turned off in the other vcenter. (DR)

    for virtual machines in this case, I need my variable to store the computer object virtual that is powered AND ignores the engine off... for other virtual machines, I need to power on and power off power vms to be included.

    Here's what I do, but it doesn't work

    $vms = (get - vm |) {ForEach-Object

    If ($_.name - eq $null) {}

    $_ = ($_ |  (Where-Object {$_.powerstate-eq "réceptrices"})} else {$_}

    })

    Hello, max2001-

    How about something like the following:

    ## get all VMs from all connect vCenters, and group them by name$arrAllVMs_grouped = Get-VM | Group-Object Name
    
    $arrDesiredVMs = @()## for any group of VMs where there is more than one (2, presumably), only return the PoweredOn VM in the group$arrDesiredVMs = $arrAllVMs_grouped | ?{$_.Count -gt 1} | %{$_.Group | ?{$_.PowerState -eq "PoweredOn"}}## and for the groups of VMs where there is only one VM in the group, add that VM to the DesiredVMs array$arrDesiredVMs += $arrAllVMs_grouped | ?{$_.Count -eq 1} | %{$_.Group}
    

    Who will be:

    1. get all virtual machines and group by name
    2. groups of virtual machines where there is more than one, just take those who are in the PowerState PoweredOn
    3. and, grab all the VMS are groups of count 1 (named unique VMs), without regard to their PowerState

    What to do for you?

  • Declare variables for the host, pool, vmFolder

    Hello

    I'm working on a workflow to automate the deployment of virtual machines.  The idea is that end-user the applicant may apply to the new virtual machine for memory, drives & size X and OS X.  The thing I want to control is the virtual machine (model to be cloned), HOST, POOL, store DATA and vmFOLDER.  I want to know how to pass the ID or the NAME to variables of the:

    System.getModule("com.vmware.library.vc.basic").cloneVM (vm, vmFolder, name, powerOn, template, data store, host, pool)

    Configure debugging which gave me (names and IDS) values of them (when I run manually) but how hard coding or spend is the real question?

    Thank you

    B

    Heya B, rather than to write an article here on how to do what you need, I took your code and that I take to be what you're trying to do and created a file of Package vCO (see table) of how I would approach...

    Import the package.

    Note that there is a Configuration element with several attributes with empty values. You must complete your values here in the configuration item. Attributes of workflow will be get their values from here.

    Now look at the workflow: notice the attributes and how they point to the configuration item! Now, look in the script task. The code, it is much easier to read and it will be easier in the future to make a change to the resources of the coast and West Coast.

    By setting these specific resources of the infrastructure as elements, you can reference them in many different workflows. And when you make a change to one of the resources that use your workflow (s), it should ONLY need to be done in the configuration item, not the ten to twelve that all workflows need to know what the West Coast Development Resource Pool

  • How to free up disk space for the database file

    Hi experts BDB.

    I use bdb4.6.21 transaction Btree access method, found that after vacuum db db-> truncate, the size of the db file has changed. How to free up disk file db space? It can be configured?

    Thank you

    Min

    Hi Min,

    What Mike says is that you do not expect that the empty space after an operation of truncation (for example a delete or update that empties a page) in the database (empty pages) to return to the file system and therefore to see the physical file size decreases.

    The next section of the documentation explaining this: required disk space

    Space released by removing the key/data pairs in a Btree database or Hash is never returned in the file system, even if it is reused when possible. This means that the databases Btree and hash are to develop alone. If enough key is deleted from a database which shrinks the underlying file is desirable, use the DB-> compact() method to recover disk space. Alternatively, you can create a new database and copy the folders of the former into it.


    So, as Mike suggested, you can dump and reload the data into a new database, or copy data from the existing/old database to a new (to remove the old database and rename a new one the old name), or you can try to compact the database using the method compact().

    If you use compact(), then in order to force the return of empty for the file system pages when possible, use the DB_FREE_SPACE flag and try to avoid using an explicit transaction (use a NULL tnxid pointer, so this BDB will use internally of several transactions that will be engaged periodically to avoid locking large sections of the tree).

    When you use the compaction in order to free up space and return pages from database empty in the file system that it is generally recommended to repeat Compact with a value low 'compact_fillpercent '.  In addition, the following output statistics fields in the structure DB_COMPACT, compact_pages_truncated and compact_pages_free should be examined to determine if there is a point, continuing to run the compaction with the same compact_fillpercent.  If the values are strict positive it is then compact() calling again with the same compact_fillpercent (and specify the DB_FREE_SPACE flag).  The compact algorithm allows a single pass on the pages of the database;  pages so not empty at the end of the file will prevent the free pages (which are placed on the free list) to be returned to the file system.

    Kind regards

    Andrei

  • How I wear on the variables in the database of a page to another?

    I have a MySQL database displayed in a table on one page, with a link in each row, pointing to a DETAILS.php page where I want to show the end user all the details of this record or a line item in a different format. After that I have a link to the new page, how should I address variables for "this particular record" clicked on in the 1st page? What is the system automatically knew which record of the row in the table that I linked to?

    lesliebrownadobe wrote:

    I have a MySQL database displayed in a table on one page, with a link in each row, pointing to a DETAILS.php page where I want to show the end user all the details of this record or a line item in a different format. After that I have a link to the new page, how should I address variables for "this particular record" clicked on in the 1st page? What is the system automatically knew which record of the row in the table that I linked to?

    Each record in your database must have a "unique" identifier (primary key), tying the record to it.

    You then pass this "unique identifier" to the details page in the link that you create using php for loop through each record found in the database, which no doubt you already have.

    On the details page then use you php to get the id of the file sent to the page via the link:

    $id = $_GET ['id'];

    Once you have the id that you are in business and can create a mysql on the database query to get the record corresponding to the code

    SELECT * FROM table WHERE id = "$id".

    'id' is the 'unique' field in the database that identifies records and the "$id" being the variable passed from the link

Maybe you are looking for

  • My signatures "Apple Mail" have all gone

    My Apple Mail signatures are gone!  I don't know how it happened.  When I look in mail preferences, all the signatures for all of my email accounts are now gone.  I have 8 setup of email accounts and had 10 registered signatures. Of course, along wit

  • 'Internet security options' will not let me install the Sims 3

    I bought the Sims 3 today and when I put it in my computer to install it, a saying 'unable to open these files. Your internet security settings prevented one or more files being opened. » I tried to adjust the internet options security to lowest sett

  • what I do with error SSL 61?

    I get the following error: error SSL 61: you hva not chosen to trust the server's secure high assurance COMODO CA, the issuer of the security of the server certificate

  • How do I back up or reinstall a previous bios?

    HP Compaq NC8430 Windows 7 Ultimate Of blue screen memory dump I've updated the bios from 68yvd worm f.oc 01/08/06 I need forms to roll back my bios. After update, the laptop stops indescriminately. As it overheats and stops. Windows 7 trying to reco

  • SD card card

    I.m said that you need a fast read/write speed on the sd card. Anyone would be able to tell me specifically how fast? 3 MB enough?.(for the video camera).