Creating a dynamic PHP link

I have a page that pulls a file path from a PHP database as a
dynamic link, only if the path field is not null. At this time, I'm
storing a piece of the file path in the db, and would like to move
away from that, but can't figure out the correct syntax.
The code currently reads as below, where 'audFile' returns a
value of "/music/filename.mp3". I want to move the /music/ piece of
the path out of the db and into the code. What would the correct
syntax be?

kllwca wrote:
> The code currently reads as below, where 'audFile'
returns a value of
> "/music/filename.mp3". I want to move the /music/ piece
of the path out of the
> db and into the code. What would the correct syntax be?
<?php
if ( is_null($row_rsMusic['audFile']) ) {
echo $row_rsMusic['audio'];
else {
echo '<a href="/music/' . $row_rsMusic['audFile'] .
'">' .
$row_rsMusic['audio'] . '</a> ';
echo $row_rsMusic['audSize']. ' ';
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • Creating a dynamic content link in Eloqua HTML editor

    I'm using dynamic content to populate a link on an HTML landing page. I drag and drop the dynamic content, and the following code shows up:
    <a href="<span title="Dynamic Content - Member Station Donation Page URL" elqid="18" elqtype="DynamicContent" class="remove-absolute" style="display: block"><span class="eloquaemail" style="-moz-user-select: all; -webkit-user-modify: read-only" unselectable="on">Member_Station_Donation_Page_URL1</span></span>">
    But when I save the page, the editor changes the HTML to this:
    <a href="<span title=" dynamic="" content="" member="" station="" donation="" page="" url"="" elqid="18" elqtype="DynamicContent" class="remove-absolute" style="display: block"><span class="eloquaemail" style="-moz-user-select: all; -webkit-user-modify: read-only" unselectable="on">Member_Station_Donation_Page_URL1</span>">
    which breaks the link. How can I format the dynamic content so the Eqolua editor doesn't screw it up?

    Hi Cootis,
    You can simply take one conatiner and create the textInput dynamically at runtime in ActionScript. Check the sample simplest  code below..
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
      <![CDATA[
         private var arrayCollectionList:Array = new Array();
         private function addTextInputToForm() : void
           var textInput:TextInput = new TextInput();
           textInput.width = 250;
           textInput.height = 25;
           boxContainer.addChild(textInput);
      ]]>
    </mx:Script>
    <mx:VBox verticalGap="5" horizontalCenter="0">
      <mx:VBox id="boxContainer" verticalGap="5">
       <mx:TextInput id="txtInput" width="250" height="25" /> 
      </mx:VBox>
      <mx:LinkButton id="lnkButton" label="Add Another Item" width="250" click="addTextInputToForm();" />
    </mx:VBox>
    </mx:Application>
    Thanks,
    Bhasker

  • A dynamic partner link for very distinct services.

    Hello,
    Is possible to create a dynamic partner link for very distinct services. for examples 10 services has different operation names, inputs, outputs.
    Thank you.

    Hello,
    You could use an Oracle Services Registry ( UDDI ) to store the WSDL and dynamically select the needed WSDL.
    Here is the general idea :
    http://chintanblog.blogspot.com/2008/04/performance-with-esb-and-bpel-run-time.html
    Cheers,
    Arnaud

  • Dynamic Partner Link.

    Hi,
    does anybody have an idea how to create a dynamic partner link.My requirement is that I recieve the service URL from database and then need to create a partner link to send message to that external service on that URL obtained.
    Anybody have any info on that .Please let me know.
    Thanks
    Deepthi.

    I haven't build this yet, so just some wild guesses.
    <variable name="partnerReference" element="wsa:EndpointReference"/>
    <assign>
    <copy>
      <from>
       <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
       <Address>http://localhost:9700/orabpel/default/UnitedLoan</Address>
       <ServiceName
         xmlns:ns1="http://services.otn.com">ns1:UnitedLoan</ServiceName>
       </EndpointReference>
      </from>
      <to variable="partnerReference"/>
    </copy>
    </assign>If i see this peace of code, you should be able to assign the address of the service.
    This value you will receive from the database service.
    This partnerReference variable you will use for the invoke of the partnerlink

  • How to create a dynamic newsflash using dreamweaver and PHP

    Hi there,
       I would like to create a dynamic newsflash using dreamweaver and PHP in that the newsflash will be pulling information from a MySQL database. The newsflash should also have a link to view more information about the piece of news a user wants to know more about. Which tools do I need to use in dreamweaver and how's the procedure to go about that. Any advice is highly appreciated. Thanx in advance!

    I think you´ll need at least a MySQL table with the following columns:
    - id (primary key, int, auto_increment etc)
    - news_headline (varchar)
    - news_teaser (text)
    - news_content (text)
    What I´d personally add are columns such as:
    - news_date (date or datetime)
    - news_external_link (varchar), if a "read more..." link is supposed to navigate to an external URL rather than displaying the contens of the "news_contents" column.
    Based on such a MySQL table it should be easy to use Dreamweavers standard Server Behaviors to create the usual datalist.php, insert.php, update.php and delete.php documents, and there are numerous tutorials out there which will teach you how to do that.
    Am I right when assuming that you´ll also need to know how to automatically pull, say, the 5 most recent news records from the database ?

  • How do I create dynamic external links

    I am attempting to create a dynamic link from information
    stored in a sql database. The database table has one field, the
    website address. The code below successfully pulls the information
    from the database but it does not display as a link, only as text.
    <?php do { ?>
    </MM:DECORATION></MM_REPEATEDREGION>
    </a>
    <MM_REPEATEDREGION SOURCE="@@rs@@"><MM:DECORATION
    OUTLINE="Repeat" OUTLINEID=2><p><?php echo
    $row_rskingsLinks['kingsLinks']; ?></p>
    <a href="<?php echo $row_rskingsLinks['kingsLinks'];
    ?>">
    <?php } while ($row_rsKingscentre =
    mysql_fetch_assoc($rsKingscentre)); ?>
    I have added the following code to create a link but it trys
    to link to a local url which it can not find
    <?php do { ?>
    </MM:DECORATION></MM_REPEATEDREGION>
    </a>
    <MM_REPEATEDREGION SOURCE="@@rs@@"><MM:DECORATION
    OUTLINE="Repeat" OUTLINEID=2><p><a href="<?php echo
    $row_rsKingscentre['']; ?>"><?php echo
    $row_rskingsLinks['kingsLinks']; ?></a></p>
    <a href="<?php echo $row_rskingsLinks['kingsLinks'];
    ?>">
    <?php } while ($row_rsKingscentre =
    mysql_fetch_assoc($rsKingscentre)); ?>
    </a></div>
    <?php echo $row_rskingsLinks['kingsLinks'];
    ?></a></p>

    Where are you getting this code?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "jeffoirecoupe1234" <[email protected]>
    wrote in message
    news:g147fb$cnv$[email protected]..
    >I am attempting to create a dynamic link from information
    stored in a sql
    > database. The database table has one field, the website
    address. The code
    > below
    > successfully pulls the information from the database but
    it does not
    > display as
    > a link, only as text.
    >
    > <?php do { ?>
    > </MM:DECORATION></MM_REPEATEDREGION>
    > </a>
    > <MM_REPEATEDREGION
    SOURCE="@@rs@@"><MM:DECORATION OUTLINE="Repeat"
    > OUTLINEID=2><p><?php echo
    $row_rskingsLinks['kingsLinks']; ?></p>
    > <a href="<?php echo
    $row_rskingsLinks['kingsLinks']; ?>">
    > <?php } while ($row_rsKingscentre =
    > mysql_fetch_assoc($rsKingscentre));
    > ?>
    >
    > I have added the following code
    > <?php do { ?>
    > </MM:DECORATION></MM_REPEATEDREGION>
    > </a>
    > <MM_REPEATEDREGION
    SOURCE="@@rs@@"><MM:DECORATION OUTLINE="Repeat"
    > OUTLINEID=2><p><a href="<?php echo
    $row_rsKingscentre['']; ?>"><?php echo
    > $row_rskingsLinks['kingsLinks'];
    ?></a></p>
    > <a href="<?php echo
    $row_rskingsLinks['kingsLinks']; ?>">
    > <?php } while ($row_rsKingscentre =
    > mysql_fetch_assoc($rsKingscentre));
    > ?>
    > </a></div>
    >
    Text
    Text
    <?php echo
    $row_rskingsLinks['kingsLinks'];
    > ?></a></p>
    <?php echo $row_rskingsLinks['kingsLinks'];
    > ?></a></p>
    >

  • How to create a dynamic action from link column in classic report

    I Have an apex page that display a modal window utilizing jquery. In the modal window I have a classic report with a link column that I want to capture its click event.
    I was thinking I could create a dynamic action with selection type=jquery selector. Not for sure if I need to do anything on link column and do not know the syntax
    for jquery selector. Would appreciate any help or direction???

    Thank you for your response. I am very new to Jquery so don't understand all that well.
    What I did:
    I created a dynamic action
    Event: Click
    Selection Type: jQuery Selector
    jQuery Selector: tdheaders
    Created True Actions
    I created an alert to see if this is being executed.
    Alert 'I made it here'
    What I have:
    I created a report region with the following query:
    Select empno, ename, 'SELECT' from emp
    where (ename like '%'||ltrim(rtrim(:P2_SEARCHPU))||'%'
    or :P2_SEARCHPU is null)
    I created 'SELECT' column as Link Column
    Report Attributes
    Link Text Select
    Target Page in this Application
    Page 2
    Region Header
    <div id="ModalForm2" title="Employee List" style="display:none">
    Region Footer
    </div>
    This report is displayed in a modal form when a button is clicked.
    Code for modal window in Page Header
    <script type="text/javascript">
    $( function() {
    $('#ModalForm2').dialog(
    { modal : true ,
    autoOpen : false ,
    buttons : {
    Cancel : function() {
    closeForm2();
    function openForm2()
    $('#ModalForm2').dialog('open');
    function closeForm2()
    $('#ModalForm2 input[type="text"]').val('');
    $('#ModalForm2').dialog('close');
    </script>
    I am trying to capture the click event on the link column of the report in the modal form. I want to pass a couple of column values
    back to the main form and close the modal window. I do not want to do the submit that happens if I click on the link column and link back to the main page(2)
    If I let the submit to happen, all other entered fields are cleared on my main form.
    Just don't understand the jQuery selector. I have no problem catching the button clicks on the modal form.

  • How to create a dynamic link in a Form to link to a specific FOLDER

    Hello,
    I have created a reports of all employees of my department.
    This reports shows me the empno and ename
    When I clicked on a empno ( for example empno = 1 ) then then I got a MASTER DETAIL FORM about that employee(empno = 1) .
    Who he or she is and which course he or she had followed.
    I want create a dynamic link in the MASTER DETAIL FORM which shows me directly the folder of that employee ( in this example folder 1 ).
    If I clickt on the report with all employees of my department on an other number ( for example empno = 3333333) then if I click on the dynamic link in the MASTER DETAIL FORM I want to see the folder of employee 3333333 !!! You know what I mean ?
    What I want to know is, how to create a dynamic link that shows me directly a folder which is dependent on which empno I had clicked on in the report ( report with employee numbers and ename )
    Is there any way to pass some parameters into a link to a Folder ? Is this possible in Portal ? Does anyone know how to do this, or do you have a suggestion how to solve this problem ?
    Thanks a lot !!!
    Chu Lam

    Hi Chetan,
    I am glad that someone had replied on my question.
    I will explain it to you again.
    I have created a report that shows me all employees. If I click on a employee number then I get an MASTER DETAIL FORM on my screen with all the information(where he works now and which number I have to dial ifhow can I reach him by telephone) of that employee on which number I clicked on.
    I really like this mechanism. (You click on a number and the information that you see in the next screen is dependent of the number you clicked on ! )I have created all this. It works fine.
    What I want is to expand this example.
    Every employee has a FOLDER (yes, those ones in Content Area ) which they can insert text or image into that folder. The folder name is just the employee number. ( employee with employee number 3303, he owns a folder which is named 3303 and an employee with empno 9999, he or she owns a folder with the name 9999. )
    Every employee can tell more about himself in that FOLDER by iserting text and images. For example : What he likes, pictures of his vacation, something like this.
    What I want is this :
    If I click on the first report,which provides me all employees on screen, on a employee number 3303 then I get a Master Detail Form on my screen with all information about that employee with employee number 3303. And I want in this MASTER DETAIL FORM to create a link that shows me directly the FOLDER of that employee ( 3303), so I can learn more about employee with employee number 3303. But I don't know how to create this link.
    That link had to be dependent on the employee number. The difficult thing about this link is that this link had to be dynamic.
    I hope this will make it clear to you :
    (report all employees:)
    empno ename
    3301 john smith
    3302 peter clark
    3303 wilson jones
    If I click on a empno ( for example 3303) then I get a MASTER DETAIL FORM which provides me information.
    (MASTER DETAIL FORM )
    EMPNO 3303
    ENAME wilson jones
    department New York
    mobile number 98908763
    Company tel. no day
    AOL 097485838 monday till wednesday
    Oracle 04848584333 thursday and friday
    LINK
    (what I want is to create a link here )
    If I click on LINK in this MASTER DETAIL FORM then I want to link to the FOLDER of this employee ! ( In this example it is FOLDER 3303.
    BUT IF I CLICKED ON THE FIRST REPORT ON A DIFFERENT NUMBER ( FOR EXAMPLE 3301) THEN IF I CLICK ON LINK IN THE MASTER DETAIL FORM THEN I HAVE TO LINKED TO FOLDER 3301.
    I just want to know how to make a link like this ( create a dynamic link to a specific folder ).
    Thanks in Advance.
    Chu

  • I need to know how I will create a dynamic website using php and mysql

    I need to know how will I create a dynamic website using php and mysql that people could have the abilities of registering in the website, and modify their profile where they can add their pictures and everything. apart from that, they should have the ability to search about other member. hope to here more from you.

    If you are a right-brained creative, and have no previous experience or propensity to be able to understand coding and database "stuff", and/or if your time can be better spent on other skills, I recommend you save your sanity and hire a developer... or at least the first time around. I have been attempting to grasp this for years... and have a library of marked up books to prove my efforts, all while trying to keep up with an ongoing client base that is always cramped. It's a wonder I still have my sanity... then again, I might not be the best person to determine that. Others might question it.
    That said, I still plan to master php... one of these days.

  • Howto create a dynamic link with current domain

    We need to create a dynamic link on a html page in the portal.
    The link should contain a dynamic part containing the domain where the CLIENT is in. It should look like this : http://mytool.windowsdomain.corp/tool where "windowsdomain.corp" is dynamic. Where could we get this information from?
    Thanks!
    Matthias

    Hi Matthias,
    you could paste something like this in a Custom JSP Component:
    <script type="text/javascript">
         function getServerURL() {
              return top.document.location.protocol+"//"+top.document.location.host;
         function redirect(uri) {
              try {     
                   top.location.href=uri;
              } catch (e) {
                //unfortunately this is not triggered in IE - only in mozilla
                   alert("No valid Redirection-URL could be generated. Please contact your Administrator.");
        redirect(getServerURL()+'/tool'+top.document.location.search);
    </script>
    Best Reagrds, Thomas

  • How to add Dynamic .php content to a Dreamweaver Template

    OS: Windows 7
    DW Version: CS5
    PHP: XAMP Local Server
    I hope someone can help.  I have created a Dreamweaver Template for .php and created 5 child pages of this template.  Everything is in working order as far as that is concerned.  Here is my problem:
    I want to add some dynamic data (some categories) from a MySQL database to a nonEditable section of the main template so that it will flow to the 5 child pages.  I can create a connection to the database with no problem, but when I go to insert a recordset into the template, it asks me to set up the "site", "document type" and "testing server" which I have already done.  I am pretty sure that this is because it is looking at the .dwt file type and saying that it needs to be a dynamic document like .php.  I have tried going through those steps, but then it just ends up renaming my .dwt file to .php and then it is no longer a template. I do not know why I cannot add dynamic data to a dreamweaver template.  It seems like it should be a no-brainer, but it just isn't working out for me.  In my research, I did locate the following
    http://help.adobe.com/en_US/Dreamweaver/10.0_Extending/WS5b3ccc516d4fbf351e63e3d117f53d610 8-7fdb.html
    but wasn't completely sure how to apply it or if it only pertained to CS4 since I am using CS5.  To be honest, it confused me more than it helped.
    I really hope there is a logical and simple solution to this issue as I have spent a lot of time researching/testing this.
    Any help/direction is greatly appreciated.  I am not looking for someone to just solve my problem and am willing to dig deep to learn, I am just do not know where to go from here.
    Thanks again in advance for your assistance.

    Brad,
    Thanks that worked! Although I will have to re-create my child pages and re-link my style sheets and scripts.  But that will not be too difficult as I have not yet added any content to them and is a very small price to pay for the answer to my bigger problem.  What is a bit quirky is that I did try to create a test .php template but when I saved it, DW did not automatically add the .php to the end after .dwt. but rather just named it test.php. I didn't think to just rename it since I had read that it would add it automatically so I thought I was doing something wrong.
    Maybe there are settings in the preferences that will fix this.  None-the-less, I can now move forward with my development thanks to your timely response.  I really appreciate it.

  • How to create a dynamic hyperlink which point to a BLOB column

    Hello,
    I am fighting with the issue for about 2 days.
    My purpose is to use Oracle Report Builder to build a report of our employee directory which contains employee's information and also employee's picture. The requirement is that our report is going to generate a html file to our web server. By creating a dynamic hyperlink to the Employee's name in the report output file (the html file generated to our web server), it should then display the corresponding employee's picture which is a BLOB column stored in our oracle database.
    I only can create the hyperlink for the employee's name if the link is static, like 'http://www.google.com
    But from the Oracle Reports 10g Release2 (10.1.2), about the exmaple 1: Dynamic hyperlink, I refered the link
    http://www.oracle.com/webapps/online-help/reports/10.1.2/state/content/navId.3/navSetId._/vtTopicFile.htmlhelp_rwbuild_hs%7Crwcontxt%7Cprops%7Cpi_lay_hyperlink%7Ehtm/
    The link gave he following example shows a value for the Hyperlink property that specifies a link to a destination identified dynamically:
    'DEPT_DETAILS_' || LTRIM(TO_CHAR(:DEPTNO))
    where :DEPTNO is a column value retrieved from the database at runtime.
    I tried as the same way to want it dynamcially shows the column :EMP_PHTOT, which is one BLOB column, but it was failed.
    Anyone knows how to implement this? Any inputs is appreciated!
    Thanks,
    Jing

    This forum is for the SQLDeveloper tool. You might get better responses on the reports forum Reports

  • How to create a dynamic form with bind variables :schema & :table_name

    My application has two LOV's, one to select a schema, and the next to select a table within that schema. I then have a button which passes me to a report which displays the data in that table.schema.
    I now want to create a link to a form where I can edit the record based on the rowid of that table.schema, but it doesn't appear that I can create a dynamic form where I pass the schema.table_name and rowid. Is this possible? Can anyone advise how I can do this? The form builder only wants a fixed schema/table name.
    Thanks in advance.
    Stuart.

    Hi Stuart,
    In this sort of situation, you will need to be a bit creative.
    I would suggest a pipeline function called as if it was a report.
    Then you can pipe out the required fields.
    Since you will have a variable number of fields, you could use two of the multi row field names for your field names and values.
    Then after submit, you can create your own procedure to loop through the fields (stored for you in the Apex package) and update the table as required.
    Not very specific I'm afraid, but it should work.
    Regards
    Michael

  • How to create a dynamic mapping of columnar at the Runtime using ADF or JSF

    How to create a dynamic GUI at the Runtime using ADF or JSF in JDeveloper 11g.
    What I am trying to build is to allow the user to map one column to another at the run time.
    Say the column A has rows 1 to 10, and column B has rows 1 to 15.
    1. Allow the user to map rows of the two tables
    2. An dhte rows of the two columns are dynamically generated at the run time.
    Any help wil be appreciated.....
    Thnaks

    Oracle supports feedback form metalink was; "What you exactly want to approach is not possible in Htmldb"
    I can guess that it is not
    exactly possible since I looked at the forums and documantation etc. but
    couldnt find anything similar than this link; "http://www.oracle.com/technology/products/database/htmldb/howtos/tabular_form.h
    t". But this is a very common need and I thought that there must be at least a workaround?
    How can I talk or write to Html Db development team about this since any ideas, this is very important item in a critial project?
    I will be able to satisfy the need in a functional way if I could make the
    select lists in the tabular form dynamic with the noz_id;
    SELECT vozellik "Özellik",
    htmldb_item.select_list_from_query(2, t2.nozellik_deger, 'select vdeger
    a,vdeger b from tozellik_deger where noz_id = 10') "Select List",
    htmldb_item.text(3, NULL, t2.vcihaz_oz_deger) "Free Text"
    FROM vcihaz_grup_ozellik t1, tcihaz_oz t2
    WHERE t1.noz_id = t2.noz_id
    AND t2.ncihaz_id = 191
    AND t1.ngrup_id = 5
    But what I exactly need i something like this dynamic query;
    SELECT
    vozellik "Özellik",
    CASE
    WHEN (t2.nozellik_deger IS NULL AND t2.vcihaz_oz_deger IS NOT NULL) THEN
    'HTMLDB_ITEM.freetext(' || rownum || ', NULL) ' || vozellik
    WHEN (t2.nozellik_deger IS NOT NULL AND t2.vcihaz_oz_deger IS NULL) THEN
    'HTMLDB_ITEM.select_list_from_query(' || rownum ||
    ', NULL, ''select vdeger a,vdeger b from tozellik_deger where noz_id = ' ||
    t1.noz_id || ''' ) ' || vozellik
    END AS "Değer"
    FROM vcihaz_grup_ozellik t1, tcihaz_oz t2
    WHERE t1.noz_id = t2.noz_id
    AND t2.ncihaz_id = 191
    AND t1.ngrup_id = 5
    Thank you very much,
    Best regards.
    H.Tonguc

  • How to create a dynamic page from a parameter table at runtime?

    I have a table which has the information of item names,types,default values of an input form. Is it possible to create a dynamic page at runtime from these parameters? I saw htmldb_item but what i need is something like attaching athis input form to a dynamic sql with htmldb_item.
    Thank you

    Oracle supports feedback form metalink was; "What you exactly want to approach is not possible in Htmldb"
    I can guess that it is not
    exactly possible since I looked at the forums and documantation etc. but
    couldnt find anything similar than this link; "http://www.oracle.com/technology/products/database/htmldb/howtos/tabular_form.h
    t". But this is a very common need and I thought that there must be at least a workaround?
    How can I talk or write to Html Db development team about this since any ideas, this is very important item in a critial project?
    I will be able to satisfy the need in a functional way if I could make the
    select lists in the tabular form dynamic with the noz_id;
    SELECT vozellik "Özellik",
    htmldb_item.select_list_from_query(2, t2.nozellik_deger, 'select vdeger
    a,vdeger b from tozellik_deger where noz_id = 10') "Select List",
    htmldb_item.text(3, NULL, t2.vcihaz_oz_deger) "Free Text"
    FROM vcihaz_grup_ozellik t1, tcihaz_oz t2
    WHERE t1.noz_id = t2.noz_id
    AND t2.ncihaz_id = 191
    AND t1.ngrup_id = 5
    But what I exactly need i something like this dynamic query;
    SELECT
    vozellik "Özellik",
    CASE
    WHEN (t2.nozellik_deger IS NULL AND t2.vcihaz_oz_deger IS NOT NULL) THEN
    'HTMLDB_ITEM.freetext(' || rownum || ', NULL) ' || vozellik
    WHEN (t2.nozellik_deger IS NOT NULL AND t2.vcihaz_oz_deger IS NULL) THEN
    'HTMLDB_ITEM.select_list_from_query(' || rownum ||
    ', NULL, ''select vdeger a,vdeger b from tozellik_deger where noz_id = ' ||
    t1.noz_id || ''' ) ' || vozellik
    END AS "Değer"
    FROM vcihaz_grup_ozellik t1, tcihaz_oz t2
    WHERE t1.noz_id = t2.noz_id
    AND t2.ncihaz_id = 191
    AND t1.ngrup_id = 5
    Thank you very much,
    Best regards.
    H.Tonguc

Maybe you are looking for