Read entry from 2 different recordsets

I have 2 recordset. $row_rsArtist has all the artists (id, nameArtist) $row_rsProject has the projects (id, cat_id, nameProject).
To link the artist to a specific project I put $row_rsArtist['cat_id'] the same number as $row_rsProject['id'] .
Now I need to read the name of the Artist in my list of Projects, but I don't know how to do this!!?
<?php do { ?>
<a href="fotos.php?v=<?php echo $row_rsProject['cat_id']; ?>">HERE SHOULD BE the name of the Artist from rsArtist [nameArtist]</a><br />
<?php } while ($row_rsProject = mysql_fetch_assoc($rsProject)); ?>
Thank you for any help.

I don't know. I am working a lot with Dreamweaver functions.. so I don't have to write to much in the code.
How could I join this 2 recordset?
mysql_select_db($database_connDNA, $connDNA);
$query_rsArtist = "SELECT * FROM ul_fotos WHERE voorstelling = 'Medewerkers' ORDER BY volgorde DESC";
$rsArtist = mysql_query($query_rsArtist, $connDNA) or die(mysql_error());
$row_rsArtist = mysql_fetch_assoc($rsArtist);
$totalRows_rsArtist = mysql_num_rows($rsArtist);
mysql_select_db($database_connDNA, $connDNA);
$query_rsProject = "SELECT * FROM ul_content WHERE submenu = 'opleiding' ORDER BY volgorde DESC";
$rsProject = mysql_query($query_rsProject, $connDNA) or die(mysql_error());
$row_rsProject = mysql_fetch_assoc($rsProject);
$totalRows_rsProject = mysql_num_rows($rsProject);
Thanks a lot for helping me!:)

Similar Messages

  • Reading Data From a Different Planning Package in a Exit Function

    Hi,
    Is it possible to read data from a planning level / package other than the package that the exit function was executed with?  I want to read data into an internal table from another package and use that data in combination with the data in the current package to create new records.  If this is possible sample code for how to read data from a different package would be appreciated.
    Thanks!
    Mel Waldner

    Hi,
    As an example lets say you have restricted 0calmonth in your package to 6.2007. In the planning layout to fetch values for 5.2007 (read only), you can take 0calmonth in data columns, and for this column restrict it as 5.2007.
    Similarly in Planning functions, you can mark 0calmonth as field to be changed and fetch data for 5.2007.
    Hope this helps.

  • Report which reads data from two different systems

    Hi experts!
    By any chance, would be possible to create a report which is able to read from two different cubes and two different systems at the same time?
    Kind regards.

    Good afternoon Raul,
    It should be possible to create a multiprovider on the two different cubes from the two sources
    systems and report on this.
    Best Regards,
    Des

  • How to get Adobe 8 to read entries from Adobe 6

    Some forms that my company uses was created in Adobe version 8. Some employees using adobe pro 6 ignored the message that states "The forms being used were created in a later version of adobe and you need to upgrade to a later version of adobe" and still went ahead and edited the forms with the adobe pro 6.
    Now that everyone is on adobe pro 8 the forms are all showing up blank.
    the information entered using adobe 6 to edit adobe 8 forms are all blank.
    Does anyone have any idea how can recover the information or how to get adobe version 8 to read the entries from version 6.
    Thanks
    Al

    Chances are they did not actually save the entries in AA6. When you open an AA8 document in AA6, you can not edit the document. That may be the issue, not that the made changes (not realizing they were not changed). This could have been avoided if the AA8 folks had saved the form in an AA6 compatible way (Reduce File Size or PDF Optimizer). However, some of the functionality might have been lost with the backward save.
    Assuming you still have AA6 on some machine, try to read them and see if the stuff is there that you are talking about. I doubt that the changes are there.

  • Read File From A Different Server

    Hello Friends,
    We have a file (.txt) sitting in a server (not the application server) and there is a requirement to read data from this file into R/3. Manually, one needs a username and password to access this file as the server in which it resides is connected to a network. Now, what are my options? How can I do this? Please let me know!
    Thanks,
    Sam

    If the server has FTP capability, you could connect via FTP to get the file and place it on the application server.  Another option is to have the folder in which the file resides NFS mounted to your app server, the the file is visible to your ABAP program and can be processed using OPEN/READ/CLOSE DATASET.

  • Dynamic Routing? how to read files from 2 different directories?

    i need to do that..pick files but from 2 different locations..
    any simple idea?
    yes, the best simple is to have 2 bpels listenening to each directory...
    can i create only 1 BPEL?
    i heard about Dynamic Routing...too complex?
    Thanks!
    Pablo.

    Hi,
    I guess you can try it with Pick as the initial activity( With Create Instance Checked) and you map your two File Adapter to two On Message branches..
    I guess this should work but i am not sure how far this is reliable.. with Pick..
    Worth giving a try..
    Thanks,
    Jp

  • Read statement from 2 different internal table.

    Hello,
    I am new to ABAP and try to work out these statements. Please can someone help me in correcting the code.
    Requirement is
    1. I have Sales Header Table
    2. Sales Item Table.
    Both the above table has Doc_number as the key filed and both has CREATEDON date . While reading the Data from SALES ITem table i have copy the CREATEON Date from SAles Header Table.
    For the above requirment i have used the following code which is going for unending loop.
    Tables: /BIC/ASALHDR0100,/BIC/ASALORD0100.
    DATA: CHDATE like /BIC/ASALHDR0100 occurs 0 with header line,
          WA_CHDATE type /BIC/ASALHDR0100,
          CiDATE like /BIC/ASALORD0100 occurs 0 with header line,
          WA_CiDATE type /BIC/ASALORd0100.
          SELECT * from /BIC/ASALORD0100 into table CIDATE.
          select * from /BIC/ASALHDR0100 into CHDATE for all entries in CIDATE where DOC_NUMBER = CIDATE-DOC_NUMBER.
    Append CHDATE.
          endselect.
    loop at CHDATE INTO WA_CHDATE.
        LOOP at CIDATE into WA_CIDATE.
        if WA_CHDATE-DOC_NUMBER = WA_CIDATE-DOC_NUMBER.
    Read table CHDATE into WA_CHDATE with KEY doc_number = WA_CIDATE-doc_number .
              write: WA_CHDATE-DOC_NUMBER,
                      WA_chdate-createdon,
                     WA_CIDATE-DOC_NUMBER.
                     ENDIF.
                     ENDLOOP.
              endloop.
    Thanks
    Edited by: Rob Burbank on Jul 26, 2010 9:34 AM

    HI,
    try thsi code.
    TABLES: /bic/asalhdr0100,/bic/asalord0100.
    DATA: chdate LIKE /bic/asalhdr0100 OCCURS 0 WITH HEADER LINE,
    wa_chdate TYPE /bic/asalhdr0100,
    cidate LIKE /bic/asalord0100 OCCURS 0 WITH HEADER LINE,
    wa_cidate TYPE /bic/asalord0100.
    SELECT * FROM /bic/asalord0100 INTO TABLE cidate.
    SELECT * FROM /bic/asalhdr0100 INTO TABLE chdate FOR ALL ENTRIES IN cidate WHERE doc_number = cidate-doc_number.
    LOOP AT chdate INTO wa_chdate.
      LOOP AT cidate INTO wa_cidate.
        IF wa_chdate-doc_number = wa_cidate-doc_number.
          READ TABLE chdate INTO wa_chdate WITH KEY doc_number = wa_cidate-doc_number .
          WRITE: wa_chdate-doc_number,
          wa_chdate-createdon,
          wa_cidate-doc_number.
        ENDIF.
      ENDLOOP.
    ENDLOOP.
    Regards,
    Pravin

  • Read Data from a different presentation server using IP address

    Hi Experts,
    I have a excel file on a system with ip a.b.c.d...I want to upload data from that excel into SAP.
    I am able to achieve it by using gui_upload function module by specifying file path in the format as  
    a.b.c.d\Shared\abc.xls.
    But, i am able to read the data only after i am logging into the remote system thru their user id and password using the RUN->... operation once....after i am doing this only, i am able to read the data....i want to read the data thru SAP, i will provide user id and password if required...only thru SAP...no other medium of interaction should be there.
    Please suggest me a approach.
    Regards,
    Lakshman.

    Unfortunately, there is not a lot of documenation on how to use DDE in Forms. I would recommend you keep googling for examples. I know there are some demo's out there that show the "basics" of how to use DDE, but then you are pretty much on your own to "Trail and Error" your way through making it work.
    I haven't actually worked with DDE in Forms 6i, but I have used OLE with WebUtil's Client_OLE to interact with MS-Office so I don't have any DDE examples I could give you. Sorry. I have seen some DDE examples here in the Forum so you could try searching here as well.
    Craig...
    Edited by: CraigB on Nov 21, 2011 8:53 AM

  • Read Images from a different server

    I need to read an image which is on a different server and place on my form. Can any one help me how this can be acomplished.
    I have the url where all the images are residing. Though I hard code it in my form it gives me error that it cannot find the image.
    Any ideas?

    What is the code you are trying to use. If you tried READ_IMAGE_FILE then this doesn't work because it looks on the file system for images (see online help)
    Frank

  • Subscribed calendar - possible to add entries from 2 different computers?

    I created several calendars on my PowerMac and published them to my .mac account. I then subscribed to them all on my MacBook so I always have my schedule current and handy. Is ther any way to add or delete events from a calendar using the second computer, not the original that created the calendars?

    I was hoping to have the same calendars displayed on multiple computers and be editable by multiple computers. Since I have only one .mac account and use it on all computers I thought that perhaps that would give me write privelages with all computers. Make new appointments on my PowerMac at home, add appointments from the road on my MacBook, all to the same calendar on .mac but it looks like only the original computer that created each calendar can write to them. This would be a sweet feature to add to iCal. Have permissions determined by the .mac account rather than the individual computer.

  • Read action from a different view in the same window

    Hi all,
    I have a view which contains a ViewContainerUIElement and a ButtonRow. A second view with form fields is embedded in the container of the first view. Validation of the form fields in the second view depends on the button pressed in the first view. How can I determine in the second view, the name of the action that is executed in the initial view?
    Thanks and regards,
    Patrick

    Patrick - I answer this question in a previous forum [Close a popup of another view being on the Main View;
    If you used the wizard in order to create the popup the wizard create a button "OK" that I'm guessing you change to "SAVE", you will need to create an EVENT HANDLER under your method list tab in my example my EVENT HANDLER is "SEARCH_RESULT" once the user click the "OK" button it will call SEARH_RESULT event and it will do your code inside the event.
      DATA LO_WINDOW_MANAGER TYPE REF TO IF_WD_WINDOW_MANAGER.
      DATA LO_API_COMPONENT  TYPE REF TO IF_WD_COMPONENT.
      DATA LO_WINDOW         TYPE REF TO IF_WD_WINDOW.
      data LO_VIEW_C         type REF TO if_wd_view_controller.
      lo_view_c = WD_this->wd_get_api( ).
      LO_API_COMPONENT  = WD_COMP_CONTROLLER->WD_GET_API( ).
      LO_WINDOW_MANAGER = LO_API_COMPONENT->GET_WINDOW_MANAGER( ).
      LO_WINDOW         = LO_WINDOW_MANAGER->CREATE_WINDOW(
                         WINDOW_NAME            = 'SEARCH_POPUP_WIN'
      *                  title                  =
      *                  close_in_any_case      = abap_true
                         MESSAGE_DISPLAY_MODE   = IF_WD_WINDOW=>CO_MSG_DISPLAY_MODE_SELECTED
      *                  close_button           = abap_true
                         BUTTON_KIND            = IF_WD_WINDOW=>CO_BUTTONS_OK
                         MESSAGE_TYPE           = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
                         DEFAULT_BUTTON         = IF_WD_WINDOW=>CO_BUTTON_OK
    lo_window->subscribe_to_button_event( button = IF_WD_WINDOW=>CO_BUTTON_OK
      action_name = 'SEARCH_RESULT'
      action_view = lo_view_c
      is_default_button = ABAP_true ).
    *  lr_popup->open( ).
      LO_WINDOW->OPEN( ).
    the subscribe_to_button_event will call the event handler and it will trigger your code inside the event.
    Thanks
    Jason P-V

  • How to read and display table data entries from ERP in CRM

    Hello experts,
    I am new to CRM. I need to read data base entries from ERP in CRM system. What would be the best way to do . The table is a standard SAP table with a custom include (several customer fields). Calling a web service would be the best way..? or is there any other way that I can do it too.
    Also, to display these entries what would be the best tool? Should I built my own transaction/report to do it?
    Any advise or guidance would be a great kick start to learn the CRM development environment.
    Regards,
    jaffery

    Hi,
    Check the below wiki link if it helps.
    http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock
    Also, you can try an option of transaction launcher.
    Hope this helps.
    Regards,
    Chandrakant

  • How can I read channels from different SCXI modules simultaneu​sly?

    Hello.
    I have a system that consists in:
    - Three E-series DAQ boards (PCI-6034, PCI-6052 & PCI-MIO-16E)
    - One SCXI chassis (SCXI 1001)
    - 4 SCXI modules for voltage measurement connected to PCI MIO 16E
    - One SCXI module for strain gauges connected to PCI 6034
    - One SCXI module for accelerometers connected to PCI 6052
    I have to develop a software application that reads all the channels at the same time or at least in the same program cycle. I have tried to create only one DAQmx task containing all the channels, although they belong to different DAQ boards (and SCXI modules, of course), but it seems to be impossible to use channels from different devices in the same task.
    So I have created three different DAQmx tasks, one for each device and its channels. I have used one "DAQmx Start Task" VI for each task at the beggining of the loop in order to use them independently, reading their channels inside the loop in every program cycle.
    When I have run the program I have get the following error:
    "ERROR -200619 ocurred at DAQmx Start Task.vi
    Chassis cannot be used for more than one scanning operation at the same time.
    Do only one scanning operation or combine multiple scanning operations into a single operation."
    What is the problem? How can I combine these multiple scanning operations? What can I do to read all channels at the same time?
    Thanks.

    Hello pablomendana,
    it's ok that you got an error when trying to use more than one device on the same task. According to the setup you have, I agree that 3 tasks should be put in place.
    The key question I have is... Have you configured manually at MAX the SG and accel. modules to be in Parallel mode?
    I would not expect the error you get if they are in parallel mode (in which you could even read directly from the DAQ board, using DAQ device channels instead of SCXI channels).
    Unfortunately, I haven't been able to setup a system similar to yours, but I would like to know more details on what you've tried so far.
    Also, I recommend you that if still need help on setting up the system, use NI's SSP program to get support from your local NI Application Engineering organization, as this will be faster than the forum.
    Regards,
    Jorge M.

  • Can I Read From two different Kindle accounts on one ipad?

    My fiance just bought an ipad 4.  She has installed the Kindle app so she can read content from her Amazon Kindle library on her ipad. 
    I have a separate Amazon Kindle library that I want to read on her ipad too.  How can I do this without co-mingling our Kindle libraries?  Is there a way to install two separate Kindle apps on her ipad? 
    I will be most appreciative of any solutions that you can offer to me.
    Robert

    You can use Safari (the Amazon site that it's only compatible with Safari on iOS devices) and go to https://read.amazon.co.uk/ and you should be able to save the site/'web app' to your iPad's homescreen and link it to a different account than is in the Kindle app itself.
    Kindle Cloud reader help

  • Error while reading file entries from the database

    Hi there,
    We are running a instance of xmii 12 in a VM (VMware) and after somebody shutdown the host machine without shutting down the VM (great idea isn't it?) we keep getting this message when trying to access xMII:
    "Application cannot be started.
      Details:   com.sap.engine.services.deploy.container.ExceptionInfo: Error while reading file entries from the database."
    Any clue? Any suggestion on how we can recover from that?
    Thanks a whole lot,
    Dom
    Server log:
    #1.5 #000C29A3B1F20002000000C400000F2800044829A35270F8#1205243578005#/System/Server##com.sap.engine.services.dbpool.deploy.ContainerImpl####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.dbpool.deploy.ContainerImpl#Plain###DataSources or DataSource aliases of 'sap.com/tcmonitoringsysteminfo' application started successfully.#
    #1.5 #000C29A3B1F20002000000C500000F2800044829A3527A6C#1205243578005#/System/Server##com.sap.engine.services.servlets_jsp.server.container.WebContainer####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.servlets_jsp.server.container.WebContainer#Plain###application [] Start of application [sap.com/tcmonitoringsysteminfo] finished successfully on Web Container.#
    #1.5 #000C29A3B1F20002000000C600000F2800044829A3527DB5#1205243578005#/System/Server##com.sap.engine.services.deploy####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.deploy#Plain###
    Operation startApp over application sap.com/tcmonitoringsysteminfo finished successfully on server 305221750#
    #1.5 #000C29A3B1F20002000000C700000F2800044829A3527E03#1205243578005#/System/Server##com.sap.engine.services.deploy####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.deploy#Plain###
    Operation startApp on application sap.com/tcmonitoringsysteminfo finished on current cluster node for 221 ms.#
    #1.5 #000C29A3B1F20002000000C800000F2800044829A3528B49#1205243578005#/System/Server##com.sap.engine.services.deploy####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Error#1#com.sap.engine.services.deploy#Plain###Error occurred while initially starting application sap.com/xappsxmiiear:Error while reading file entries from the database.#
    #1.5 #000C29A3B1F20002000000CA00000F2800044829A352922B#1205243578015#/System/Server##com.sap.engine.services.deploy####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.deploy#Plain###The synchronization of applications with DB completed for 39304 ms.#
    #1.5 #000C29A3B1F200040000000200000F2800044829B290A4F8#1205243834341#/System/Server/SLDService##com.sap.sldserv.DataCollector####n/a##0da42150ef7311dcb908000c29a3b1f2#SAPEngine_System_Thread[impl:5]_7##0#0#Warning#1#com.sap.sldserv.DataCollector#Plain###Communication configuration is incomplete. No data transfer possible until corrected.#

    Well thanks for the hint. Actually, the DB was up but corrupted. I managed to solve the bug by re-deploying xMII (using the SDM tool) which kept all my data but redeployed both the config db of (x)mii and the class files.

Maybe you are looking for

  • Error activating DataStore Object

    Hi I have created a DSO and put in some key fields and data fields. During activatation, I encountered the following errors. Pls help ! Internal error occurred when writing.. Error while saving change log for DataStore Object.. Error during creation

  • Creating a new client

    Hi guru How create a new client similar to client000. Points will be rewarded for the responses. Thanks in advance Vijay.

  • In Linux I got an unsatisifedlabrary exception

    System.out.print(System.getProperty("java.library.path")); tell me the java.library.path, and among these paths I found the excepted one, and I also setupped the LD_BLALALBL_PATH but when I used System.loadLibrary("libdb_java-4.5"); it did not work w

  • Would like to Restore Stystem to an Earlier Point in Time

    My computer stopped booting up a few days ago and I attempted to Restore the system to an earlier point by pressing F11 and then choosing Restore System to an earlier date.  However, the system indicates the following:  "NO RESTORE POINTS have been c

  • Movies from iTunes takes up storage space in macbook pro

    Will the movies bought in iTunes take up storage space from the macbook ? if yes, is there a way to transfer the movies to iCloud so that the computer storage will not be full ???