How to disable a page based on the value of another element on the Page element?

Hello

How can I turn a page element using javascript based on the value of another element on the page?

Eg: P1_TEXT want to be disabled if the value in P1_LCOK = "LOCK".

How can I do this using javascript. I want this implemt on loading the page.

Kind regards
Benz

Put this function in the page header:


and call it in the footer:

f_disable_item;

Denes Kubicek
------------------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------------------

Tags: Database

Similar Questions

  • How to create a report based on the item selected from the list of selection?

    Hello

    I created a tables_LOV based on:

    Select table_name table_name user_tab_cols r, d

    where column_name like '% _type % '.

    Then I created a ListOfTables page element, display in a selection list and pointing to tables_LOV.

    I run the page, and I can choose the table I want in the drop-down list.

    How to create a report based on the selected element? (ex: select * from selected_table)

    Thanks in advance

    Salah

    Hi Salah,

    Allright, take a look at this page: http://apex.oracle.com/pls/apex/f?p=vincentdeelen:collection_report

    I think that simulates what you are trying to accomplish. I've implemented the simplest method I could think of.

    The report is based on a collection of apex. If you are not familiar with this, you should study the documentation: APEX_COLLECTION

    To recreate my example, you should:

    (1) create a report (interactive) on your collection

    SELECT *
       FROM APEX_collections
     WHERE collection_name = 'MY_COLLECTION'
    

    (2) create a selection list page_item for the tables that you want to display (in my case, this is called "P38_TABLES")

    (3) create a dynamic action that triggers on the evolution of your selection list page_item. Dynamic action must be a parade of PL/SQL procedure the following code:

    declare
      l_query varchar2(4000);
    begin
      l_query := 'select * from '||:P38_TABLES;
      if apex_collection.collection_exists
            ( p_collection_name => 'MY_COLLECTION' )
      then
        apex_collection.delete_collection
          ( p_collection_name => 'MY_COLLECTION' );
      end if;
    
      apex_collection.create_collection_from_query
        ( p_collection_name => 'MY_COLLECTION'
        , p_query           => l_query
        );
    end;
    

    Make sure that you add your page_item 'Page to send items' section.

    (4) add a real extra action that makes an update of the report area.

    Here are two photos describing the da:

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA1.PNG

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA2.PNG

    Good luck and greetings,

    Vincent

    http://vincentdeelen.blogspot.com

  • BIOS WMI question - how to disable a specific device in the boot list?

    Hello

    I have question for WMI, how to disable a specific device in the boot list? I found "BootODD" "BootFDD" etc. in the documentation, but I have no idea how to use. And here my question.

    Documentation:
    http://APS2.toshiba-tro.de/KB0/TSB3803HR0000R01_TOSHIBA_BIOS_WMI_Interface_Guide_-_13_Rev_1.1.PDF

    Do you know that pdf is a guide for authors of vb script?
    I don't think running a script against the BIOS is a good way to learn.

    In any case, here is a link to download Microsoft Scriptomatic which is a very good place to learn [http://www.microsoft.com/en-us/download/details.aspx?id=12028]

    Also, try a search for examples of WMI scripts there necessarily one who does your job.

    Good luck

  • How to replace filtering engine based on the Windows Component?

    HI - how to replace filtering engine based on the Windows Component?

    See the link below.   This fix is well worth trying, but if your system has been damaged by malicious programs such as Sirefef there may be more issues involved.

    blogs.technet.com/b/asiasupp/archive/2011/12/27/error-code-0x80070424-with-Windows-Firewall-and-quot-base-filtering-engine-service-quot-not-available-in-services-database-list.aspx

  • How to disable and remove permissions for the dashboards change in OBiee11g

    Hi gurus,

    I am new to this Forum & Obiee too.

    some briefly can guide me how to disable or remove the dashboard change in Obiee11g page options


    concerning
    Sri

    Hello
    Based on the permissions granted to the user, it will have access to it. If user is to have total control, then it may have change dashboard, else if the user read only access to the dashboard while he can't have the dashboard option change.

    Kind regards
    Srikanth

  • How to disable ETag generation focused on the inode in WebLogic?

    Hello

    Can you please suggest me how to make the subject?

    Thank you before hand!

    M

    Hey M,

    Yes OSH being Oracle HTTP Server.

    Purhaps that's what you're looking for:

    How to disable the generation based on the ETag Inode OHS? (Doc ID 1915141.1)

    Nick

  • [ADF, JDev 12.1.3] How to hide menu items based on the logged in user

    Hallo,

    When the user logs on successfully, the applitacions led him to the main.jspx page.

    The main.jspx page has a menu bar that contains all of the available menus, submenus and menu items.

    After the connection, when the main.jspx page loads I would hide all the menus, submenus and menu items that the user is not qualified to see/use (I read the database).

    You kindly tell me which is the way the cleaner to achieve?

    Thank you

    Federico

    user10709360 wrote:

    Hello rohanwalia,

    Sorry, but I need more help

    I guess that the solution is to create a method in the AM who - reading form the database - returns a structure that indicates for each menu item should be visible or hidden.

    • How can I use the data returned by this method?
    • I call in a managed bean specifically dedicated to the management of the menu? Can I also use the already existing media bean, I created for the page?
    • What scope should have the bean?
    • Don't you think that it is better to define a 'visible' variable Boolean (initilized depending on the result of the AM method) for each menu item and how to bind the Visible property of each menu item to the variable respective in the bean in the bean?
    • Or I can loop the result of the method AM setting the Visible property of the menu items? In this case, I guess that all the menu items must be mapped into the bean by user interface variable. Am I wrong?
    • Is it not possible to write a method which, of the AM directly, hide the menus not necessary on the page (so without using a bean)?
    • In general, which are the correct always to hide menu items:
      • (1) before the page is sent to the browser (as "I can do it with PHP);
      • (2) once the page is loaded in the browser (as I can do it with JavaScript)?

    If you could give me some more detailed advice... I would be very happy.

    Thank you

    Federico

    (1) its best to make the treatment inside the method. You can return the parameters as normal java method.

    (2) Yes, you can use bean already exists in the project. But better to create a separate bean for this task of menu.

    (3) scope should be request unless you need to persist the attributes between requests.

    (4) Yes it is possible. You can define and initialize a Boolean variable with the results you get from the table based on the menu items should be made visible.

    (5) If you use the approach to point 4, then also you have to loop through the table menu items and set Boolean variables of bean. Yes you are right for the second part.

    (6) I'm not sure about this approach. How will you map it to your menu mode. It takes research.

    (7) before the page is loaded. I share with you links in above post with which you can do this.

    I hope this helps.

    Thank you

  • How to create a report based on the selection of a node of a tree

    Hello

    I am new to Oracle Apex and tried to build a tree and also an interactive report based on column empno from emp table.

    I created a tree based on the emp table. Now, I want to see the records in the employee selected in the tree.

    This is the query of the tree:

    Select case when connect_by_isleaf = 1 then 0
    When level = 1 then 1
    of another-1
    end the status,
    level,
    'ENAME' as the title,
    NULL as an icon,
    'EMPNO' as value,
    NULL as ToolTip,
    NULL as link
    of ' #OWNER # '. " EMP.
    Start by "MGR" is nothing
    connect prior "EMPNO" = "MGR".
    siblings arrested by 'ENAME '.

    Can someone tell me step by step how to go from here?

    I tried to follow the thread Re: question of tree but could not understand a lot of it.

    The approach to reload the page and display the report is fairly simple.

  • You start by creating a new page element that will be used to store the selected node ID, for example. P100_SELECTED_NODE (you can do atext element and change hidden once everything works as expected)
  • Change the query of the tree and the link column in the SQL of tree definition to a link to the same
    for example if your page is 100, you'd do the tree node a link to the same page but the value of the P100SELECTED_NODE with id_ of the node selected
    This is done here
    {message: id = 4410987}
    In this case, it would be

    ' f ? p = & APP_ID.: 100 :'|| : APP_SESSION |': P100_SELECTED_NODE :'|| EMPNO as link

    Now when you click on a link to tree node, it would be back to the same page, but set the P100_SELECTED_NODE with the empno of the clicked node.

  • All that's left to do, change your report so that it refers to the new point inorder to filter records for this employee empno i.e

    SELECT ...
      ..
    WHERE empno= :P100_SELECTED_NODE
    
  • Deactivating a page element based on the value of another element on the page

    Hello
    I have a page element I want to turn off if the value of another article (drop-down list item) is set to a specific value. I followed the example in the book 'Pro Oracle APEX"(p.320) in this regard. He ordered me to do this in the HTML form element attributes for the element section:
    OnChange = "htmldb_item_change (this); html_DisableOnValue (This, 'Closed', 'P3_PRIORITY', 'P3_ASSIGNED_TO'); »

    It works very well. It disables the element I want to disable. HOWEVER, it does not neutralize the article unless the element with the onchange attribute is changed.

    How can I add features to disable the second element, even if the first element does not change, but contains the value 'Closed' when the user of the first load of the page?

    Thanks for your help and your insight!
    -Reid

    Hello Reid,

    The easiest way would be to (also) a Condition only read the item that you want to disable.

    Greetings,
    Roel

    http://roelhartman.blogspot.com/

  • How to disable voice more permanently in the Iphone s 6 more

    Hello

    How to disable voice parmanently on. Its very irritating. I have tried all options but no luck.

    whenever I click on the button "home" three times by mistake, its active getting.

    Please help me.

    Thank you

    Vijay

    Change:

    Settings > general > accessibility > accessibility shortcut

  • How to read multiple channels based on the external clock

    Hello

    Normal 0 false false false MicrosoftInternetExplorer4 / * Style Definitions * / table. MsoNormalTable {mso-style-name: "Table Normal" "; mso-knew-rowband-size: 0; mso-knew-colband-size: 0; mso-style - noshow:yes; mso-style-parent:" ";" mso-padding-alt: 0 to 5.4pt 0 to 5.4pt; mso-para-margin: 0; mso-para-margin-bottom: .0001pt; mso-pagination: widow-orphan; do-size: 10.0pt; do-family: "Times New Roman"; mso-ansi-language: #0400; mso-fareast-language: #0400; mso-bidi-language: #0400 ;} "}

    I use 6254 multifunction for playback of tension with VC ++ 6 as the development tool.

    Based on the documentation NOR I created tasks like this.

    DAQmxCreateTask (_T ("Voltagetask"), & taskHandle);

    DAQmxCreateAIVoltageChan(taskHandle,sChannels,,DAQmx_Val_NRSE,0,10,DAQmx_Val_Volts,);

    DAQmxCfgDigEdgeStartTrig (taskHandle, "PFI2", DAQmx_Val_Rising);

    DAQmxCfgSampClkTiming(taskHandle,"PFI2",303000,DAQmx_Val_Falling,DAQmx_Val_FiniteSamps,nSamples);

    DAQmxStartTask (taskHandle);

    After the generation of clock finished thanks to the DAQmxReadAnalogF64 function, I tried to read samples of each channel.

    DAQmxReadAnalogF64 (taskHandle, DAQmx_Val_Auto, 10, DAQmx_Val_GroupByScanNumber, read, m_nStates & sampsPerChanRead, NULL);

    Total number of samples (nSamples) available in the buffer when the task is created with a single channel and several channels are still to come as even. In several modes of channel returns total sample by channel, which is equal to the total number of samples divided by the number of channels at once.

    For example, if a total number of clock 8000

    With single channel, it reads all the 8000 samples (m_nStates = 8000, sampsPerChanRead = 8000)

    When two tracks he read 4000 samples per channel and so on. (m_nStates = 8000, sampsPerChanRead = 4000)

    If any body know, on every clock how to take samples of all of the configured channels.

    Thanks in advance,

    Renjith.

    Renjith,

    Please note that the behavior, I explained is in line with the provisions should only if you use your clock as I convert clock. You can find information about the different types of synchronization of the analog inputs using NOR-DAQmx; the element to search for is "clocks".

    Since you do not set the clock to convert MY (should be DAQmxSetAIConvSrc()), the fact that I mentioned above is only informative for you, but does not apply to your question.  Sorry for responding too quickly without looking in your code between quotes...

    In order to answer your question, we take a look at the approach to programming DAQmx:

    If you configure your task to be "finished", the task will stop running if the number of samples per channel is acquired. In the case of an external clock (not configured as I convert clock), served it in the sampling interval. The sample clock will automatically receive a sample for all channels with a single clock pulse. From this point of view, the installation program you have in your program seems correct.

    If you do not get the number of samples that await, the fault must be somewhere in your playback function. Do you get any error messages?

    DAQmxReadAnalogF64 (taskHandle, DAQmx_Val_Auto, 10, DAQmx_Val_GroupByScanNumber, read, m_nStates & sampsPerChanRead, NULL)

    If you set m_nStates set to 8000, it's here. You say the Read function to retrieve 8000 samples. None. So if you have two channels, DAQmx acquires 2 x 8000 samples, but read you only 8000 samples... Please change m_nStates to

    m_nStates = #channels x #samples by channel

    This should solve your problem.

    hope this helps,

    Norbert

  • How to add dynamic items based on the results of a dynamic query?

    Hi all

    I'm quite new to ofa, here's my problem.

    I have a table 'interventions', each intervention have actions stored in the table "actions".

    I want to show the actions of an intervention in a list, based on the id of the intervention. the response ID value is dynamic, so does not know the number of shares that you want to display in the list.

    Can someone tell me the steps to create a region that has dynamic elements to display names of action?

    Thank you

    Kind regards

    Afaf

    Afaf,.

    Take a look on the link below to see how to create dynamic VO:

    Blog of Anil Oracle Application Framework: create VO when running at the controller or dynamically created VO

    You could add messageStyled text like the code below:

    OAMessageStyledTextBean newMessageBean = (OAMessageStyledTextBean) createWebBean (pageContext, MESSAGE_STYLED_TEXT_BEAN, null,"" ");

    Links to dynamically create elements below:

    Add columns to the table advanced in OA Framework Programatically by Extension

    OPS KNOWLEDGE HELPER

    Let us know if you get any errors when creating.

    See you soon

    AJ

  • How to show/hide point based on the value of Radiogroup

    Hello

    I'm having a Radiogroup with a yes/no value.
    I have something else to say... P1_TEXT1

    I want to show / hide point P1_TEXT1 based on the value selected in the radiogroup.
    If I select Yes - agenda should be displayed
    If I select non - element should be hidden

    I don't want to send the page.


    Thank you
    Deepak

    on your page go to edit page under the attribute of the HTML body of the Page then you need to put the following text:

    onload="MyFunction;"
    

    You must have tobe your function name Myfunction. Pass the item to your function in your code?

    Could you post your code js here and we could have a look for you?

  • How to create a document based on the name of a file in the file system?

    Hello

    With lots of photos, I like to have a database to collect information on these photos.

    First question is how to generate a record based on a file in the file system?
    for example, the images are "c:\fotos\2009\01\disc_001.jpg" to "c:\foto\2009\01\dis_98.jpg".
    now, I want to create folders with as one of the attributes of the name of the image (not the image itself). How to create these records (based on information from line-telephony). that is the number of records must be the same as the number of photos.

    any suggestions?
    any response will be appreciated.

    Leo

    Link to create the directory

    http://www.adp-GmbH.ch/ora/SQL/create_directory.html

    You can create a list of files in the directory and read the list of files in this directory.

    [Documentation UTL_FILE | http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10802/u_file.htm#996728]

    [Solution using Java | http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:439619916584]

    SS

  • How to show/hide div based on the value of mysql

    I have a dataset that contains a 'locked' column, which is a Boolean value that I want to use to remove a button on a form.  The idea is that it will be fixed to 1 after a period of time, thus eliminating the buttun that connects to an update form and prevent the data being edited.  Currently I have the field bound to a checkbox at the top of the table.  How can I use this to hide the button (or any other html element) when the value 1 and show the item when the value 0?  I understand that I need to create a php mysql boolean variable and then use a loop if/else statement to hide/show the html code but I don't know how impliment that?  Thanks for any help.

    Here is the code:

    <? php require_once('Connections/testmypms.php');? >

    <? PHP

    $currentPage = $_SERVER ['PHP_SELF'];

    $maxRows_spec_rx = 10;

    $pageNum_spec_rx = 0;

    If (isset($_GET['pageNum_spec_rx'])) {}

    $pageNum_spec_rx = $_GET ['pageNum_spec_rx'];

    }

    $startRow_spec_rx = $pageNum_spec_rx * $maxRows_spec_rx;

    $colname_spec_rx = "1";

    If (isset($_GET['pxID'])) {}

    $colname_spec_rx = (get_magic_quotes_gpc())? $_GET ['pxID']: addslashes($_GET['pxID']);

    }

    @mysql_select_db ($database_testmypms, $testmypms);

    $query_spec_rx = sprintf ("SELECT spec_rx.spec_rx_id, spec_rx. FK_px_id, DATE_FORMAT (spec_rx.spec_rx_date, ' % d-% m-% Y') as formatted_rx_date, spec_rx. FK_user_id, spec_rx.spec_rx_rsph, spec_rx.spec_rx_rcyl, spec_rx.spec_rx_raxis, spec_rx.spec_rx_rhprism, spec_rx.spec_rx_rhprismbase, spec_rx.spec_rx_rvprism, spec_rx.spec_rx_rvprismbase, spec_rx.spec_rx_rnadd, spec_rx.spec_rx_rnhprism, spec_rx.spec_rx_rnhprismbase, spec_rx.spec_rx_rnvprism, spec_rx.spec_rx_rnvprismbase, spec_rx.spec_rx_rintadd, spec_rx.spec_rx_rinthprism, spec_rx.spec_rx_rinthprismbase spec_rx.spec_rx_rintvprism, spec_rx.spec_rx_rintvprismbase, spec_rx.spec_rx_lsph, spec_rx.spec_rx_lcyl, spec_rx.spec_rx_laxis, spec_rx.spec_rx_lhprism, spec_rx.spec_rx_lhprismbase, spec_rx.spec_rx_lvprism, spec_rx.spec_rx_lvprismbase, spec_rx.spec_rx_lintadd, spec_rx.spec_rx_linthprism, spec_rx.spec_rx_linthprismbase, spec_rx.spec_rx_lintvprism, spec_rx.spec_rx_lintvprismbase, spec_rx.spec_rx_lnadd, spec_rx.spec_rx_lnhprism spec_rx.spec_rx_lnhprismbase, spec_rx.spec_rx_lnvprism, spec_rx.spec_rx_lnvprismbase, spec_rx.locked, users.user_id, users.user_firstname, users.user_surname FROM spec_rx, users WHERE %s = spec_rx. FK_px_id AND spec_rx. (FK_user_id = users.user_id ORDER BY spec_rx.spec_rx_date DESC, spec_rx.spec_rx_id DESC', $colname_spec_rx);

    $query_limit_spec_rx = sprintf ("%s LIMIT %d, %d", $query_spec_rx, $startRow_spec_rx, $maxRows_spec_rx);

    $spec_rx = mysql_query ($query_limit_spec_rx, $testmypms) or die (mysql_error ());

    $row_spec_rx = mysql_fetch_assoc ($spec_rx);

    If (isset($_GET['totalRows_spec_rx'])) {}

    $totalRows_spec_rx = $_GET ['totalRows_spec_rx'];

    } else {}

    $all_spec_rx = mysql_query ($query_spec_rx);

    $totalRows_spec_rx = mysql_num_rows ($all_spec_rx);

    }

    $totalPages_spec_rx = ceil($totalRows_spec_rx/$maxRows_spec_rx)-1;

    $colname_demographics = "1";

    If (isset($_GET['pxID'])) {}

    $colname_demographics = (get_magic_quotes_gpc())? $_GET ['pxID']: addslashes($_GET['pxID']);

    }

    @mysql_select_db ($database_testmypms, $testmypms);

    $query_demographics = sprintf ("SELECT demographics.px_id, demography. FK_title_id, demographics.firstname, demographics.surname, DATE_FORMAT (demographics.dob, ' % d-% m-% Y') as formatted_dob, title.title_id, title.title FROM demographics, title WHERE %s = demographics.px_id AND demography. (FK_title_id = title.title_id", $colname_demographics);

    $demographics = mysql_query ($query_demographics, $testmypms) or die (mysql_error ());

    $row_demographics = mysql_fetch_assoc ($demographics);

    $totalRows_demographics = mysql_num_rows ($demographics);

    $queryString_spec_rx = "";

    If (! empty($_SERVER['QUERY_STRING'])) {}

    $params = explode ("&", $_SERVER ['QUERY_STRING']);

    $newParams = array();

    {foreach ($params as $param)

    If (stristr ($param, "pageNum_spec_rx") == false & &)

    stristr ($param, "totalRows_spec_rx") == false) {}

    return ($newParams, $param);

    }

    }

    If (count ($newParams)! = 0) {}

    $queryString_spec_rx = '& '. htmlentities (implode ("&", $newParams));

    }

    }

    $queryString_spec_rx = sprintf ("& totalRows_spec_rx = %d %s", $totalRows_spec_rx, $queryString_spec_rx);

    ? >

    < ! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / IN" "http://www.w3.org/TR/html4/loose.dtd" > ""

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 ">"

    < title > Spec Rx3 < /title >

    < script language = "JavaScript" type = "text/JavaScript" >

    <!--

    function MM_goToURL() {//v3.0

    var i, args is MM_goToURL.arguments; document. MM_returnValue = false;

    for (i = 0; i <(args.length-1); I += 2) eval(args[i]+".location='"+args[i+1]+"'");

    }

    ->

    < /script >

    < / head >

    < body >

    Rx Spec < p > < /p >

    < p > <? PHP echo $row_demographics ["px_id"];? > < / p >

    < p > <? PHP echo $row_demographics ['title'];? > <? PHP echo $row_demographics ["FirstName"];? > <? PHP echo $row_demographics ['name'];? > <? PHP echo $row_demographics ["formatted_dob"];? > < / p >

    < p >

    < input name = "Add_spec_rx" type = "button" id = "Add_spec_rx" onClick = "MM_goToURL ('parent', 'add_spec_rx.php'); return document. MM_returnValue' value = 'New Rx' >

    < /p >

    < p > < a href = "<?" PHP printf ("%s? (pageNum_spec_rx = %d %s", $currentPage, max (0, $pageNum_spec_rx - 1), $queryString_spec_rx);? > "> previous < /a > < a href =" <? PHP printf ("%s? (pageNum_spec_rx = %d %s", $currentPage, min ($totalPages_spec_rx, $pageNum_spec_rx + 1), $queryString_spec_rx);? > "> Next < /a > < /p >"

    <? PHP {? >}

    < table border = "1" cellspacing = "1" cellpadding = "5" >

    < b >

    < td > < table >

    < td > <? PHP echo $row_spec_rx ["formatted_rx_date"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_id"];? > < table >

    < td > locked:

    < input <? PHP if (!) ((strcmp($row_spec_rx['locked'],1)))) {echo 'checked' ;}? > name = 'locked' type = "checkbox" id = "locked" value = "1" > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < /tr >

    < b >

    < td > < table >

    SPH < td > < table >

    Cyl < td > < table >

    Axis of < td > < table >

    HPrism < td > < table >

    HPrismBase < td > < table >

    VPrism < td > < table >

    VPrismBase < td > < table >

    NrAdd < td > < table >

    NrHPrism < td > < table >

    NrHPrismBase < td > < table >

    NrVPrism < td > < table >

    NrVPrismBase < td > < table >

    IntAdd < td > < table >

    IntHPrism < td > < table >

    IntHPrismBase < td > < table >

    IntVPrism < td > < table >

    IntVPrismBase < td > < table >

    < /tr >

    < b >

    < td > < table > R

    < td > <? PHP echo ($row_spec_rx ['spec_rx_rsph'] <>null)? sprintf ("%+4.2f", $row_spec_rx ['spec_rx_rsph']): null;? > < table >

    < td > <? PHP echo ($row_spec_rx ['spec_rx_rcyl'] <>null)? sprintf ("%+4.2f", $row_spec_rx ['spec_rx_rcyl']): null;? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_raxis"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rhprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rhprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rvprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rvprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rnadd"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rnhprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rnhprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rnvprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rnvprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rintadd"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rinthprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rinthprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rintvprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rintvprismbase"];? > < table >

    < /tr >

    < b >

    < td > < table > L

    < td > <? PHP echo ($row_spec_rx ['spec_rx_lsph'] <>null)? sprintf ("%+4.2f", $row_spec_rx ['spec_rx_lsph']): null;? > < table >

    < td > <? PHP echo ($row_spec_rx ['spec_rx_lcyl'] <>null)? sprintf ("%+4.2f", $row_spec_rx ['spec_rx_lcyl']): null;? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_laxis"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lhprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lhprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lvprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lvprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lnadd"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lnhprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lnhprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lnvprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lnvprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lintadd"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_linthprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_linthprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lintvprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lintvprismbase"];? > < table >

    < /tr >

    < b >

    < td > < table >

    < td > user ID <? PHP echo $row_spec_rx ['user_id'];? > < table >

    < td > <? PHP echo $row_spec_rx ['user_firstname'];? > < table >

    < td > <? PHP echo $row_spec_rx ["user_surname"];? > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < /tr >

    < /table >

    < p > < / p >

    <? PHP} while ($row_spec_rx = mysql_fetch_assoc ($spec_rx));? >

    < p > < / p >

    < p > < / p >

    < p > < / p >

    < / body >

    < / html >

    <? PHP

    mysql_free_result ($spec_rx);

    mysql_free_result ($Demographics);

    ? >

    barrydocks wrote:

    I don't know there must be a more elegant way to do it!

    <>

    If ($row_spec_rx ['locked'] == 1) {}

    echo 'button html goes here ";

    }

    else {}

    echo "something else";

    }

    ?>

Maybe you are looking for

  • accidentally credited the poster of evil with a solution, how can I change?

    So, this is my third post to this community. My first post asked for a solution to a problem I had. My second post was to thank the poster who provided the solution, and then click the correct answer in the box of the poster. At least that is what I

  • Printing from W7 HP laptop attached to a Win XP Pro Office; driver needed?

    Hello: Have a home network of XP machines that allows to print on a HP 3030 printer that is usb attached to a wireless Win XP Pro SP3 desktop.  Find everything HP/fine print.  Added a portable W7 Home Prem 64 b, changed the name of default WORKING gr

  • HP LaserJet M1536dnf MFP responds automatically faxes

    My new HP LaserJet M1536dnf MFP does not automatically fax calls.  I don't have a phone hooked or a voice mail/answering machine.  "Answer Mode is"Auto". We use an analog converter to connect to our internal digital VOIP phone system.  Prior MFP whic

  • How to activate the touch screen of the toshiba portege M700

    I just upgraded my toshiba portege M700 vista home premium to vista ultimate. Finger touch screen is now turned off and I can't turn it back on. I went to the pen devices and entry in Control Panel and the relevant tab isn't there.

  • Expenses for period individual FDMEE

    I have a file delimited by commas with 7 fields (amount last).For example...I have Setup all the dimensions in the fields appropriate.When you import the file, the value of the amount is imported for all dimensions.Not quite sure what is happening he