Sending 2 Different Data

hi
i wanted to send a string text (id) and a image byte from my phone to the servlet
how can i do so?
using doPost?

hi,
i wanted to send both a string text and a image bytefrom where? to where
and using the string text to use as name for file
creation for the image file in the folder.
but i dont know how to doGoogle is your friend
i currently only can upload and download the image
from a fix folderhuh?

Similar Messages

  • I'm using a 1D Arrary with 27 different elements and would like to send those data over UDP Write and UDP Read functions.

    I'm using a 1D array with 27 different elements. I would like to transfer that data over a UDP connection, and read it back by using UDP connections.
    But I would like to read 3 elements at a time (On read side) and send those to 9 different ports.
    Note: the data will go to only one PC with one Network Address)
    * 1st elements (0,1,2) and send to port #XXX to see those 1st 3 elements.
    * continue until the elements reaches up to 27
    This is what I have done but I'm finding myself in pitfalls...
    Send side:
    I'm using a UDP Open connection on send side to send my data. So with selected a Source Port, I have created a UDP Op
    en connection. I�m using only one source port to send all the data across the channel. I would like to read 1st 3 elements and send those data across with an assigned Destination port. I would like to do that for 9 times b/c there are 27 elements in the array. So I�m using a For Loop and setting N count to 9. So I�m not getting any errors when I execute and no answer on the other side at all.
    Read side:
    I�m using a UDP Open connection to read in the data with port #. I�m using while loop to with Boolean inside by making a true all the time. Inside that While loop, I�m using For Loop to read the 3 elements data a time and send to a right port address. (As start out I was just trying to see if it works for only one port).
    Attachments:
    UDP_SEND_1.vi ‏40 KB
    UDP_READ_1.vi ‏31 KB

    You are not getting any errors because UDP is a connectionless protocol. It does not care if anyone receives it. Your example will work fine with the following considerations.
    (1) Don't use the generic broadcast address (255.255.255.255).
    (2) You are listening on port 30000. So why are you sending to port 1502, nobody will receive anything there.
    The destination port of the outgoing connection must match the server port of the listener. (The source port is irrelevant, set ot to zero and the system will use a free ephemeral port).
    (3) On the receiving side, you are not indexing on the received string, thus you only retain the last received element. Then you place the indicator outside the while loop where it never gets updated. :-(
    (4) Do yourself a favor and don't micromanage how the data is sent across. Just take the entire array, flatten it to string, send it across, receive it, unflatten back to array, and get on with the task.
    (You can do the same with any kind of data).
    I have modified your VI with some reasonable default values (destination IP = 127.0.0.1 (localhost)), thus you can run both on the same PC for testing "as is". Just run the "read" first, then every time you run "send", new data will be received.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    UDP_READ_1MOD.vi ‏29 KB
    UDP_SEND_1MOD.vi ‏27 KB

  • How to send different type of data

    Hello, everyone,
    I am trying to send different types of data between client and server.
    For example, from server to client, I need to send some String data, using PrintWriter.println(String n); and send some other stuff using OutputStream.write(byte[] b, int x, int y). What I did is setting up a socket, then send them one by one. But it didn't work.
    I am just wondering if there is anything I need to do right after I finished sending the String data and before I start sending other stuff using OutputStream. (Because if I only send one of them, then it works; but when I send them together, then the error always happened to the second one no matter I use PrintWriter first or the OutputStream first)

    To send mixed type of data by hand allways using the same output/input stream, you could do:
    on server side
            ServerSocket serverSocket = null;
            Socket clientSocket = null;
            OutputStream out = null;
            try
                /*setup a socket*/
                serverSocket = new ServerSocket(4444);
                clientSocket = clientSocket = serverSocket.accept();
                out = new BufferedOutputStream(clientSocket.getOutputStream());
                /*send a byte*/
                int send1 = 3;
                out.write(send1);
                /*send a string with a line termination*/
                String send2 = "a string sample";
                out.write(send2.getBytes("ISO-8859-1"));
                out.write('\n');
            finally
                try { out.close(); }
                catch (Exception e) {}
                try { clientSocket.close(); }
                catch (Exception e) {}
                try { serverSocket.close(); }
                catch (Exception e) {}
    on client side
            Socket clientSocket = null;
            InputStream in = null;
            try
                clientSocket = new Socket("localhost", 4444);
                in = new BufferedInputStream(clientSocket.getInputStream());
                /*receive the byte*/
                int receive1 = in.read();
                System.out.println("The received message #1 is: " + receive1);
                /*receive the string up to the line termination*/
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                int c;
                while (((c = in.read()) != '\n') && (c != -1))
                    baos.write(c);
                String receive2 = baos.toString("ISO-8859-1");
                System.out.println("the received message #2 is: " + receive2);
            finally
                try { in.close(); }
                catch (Exception e) {}
                try { clientSocket.close(); }
                catch (Exception e) {}

  • Create Quotation by sending different partner data to header & item table in a Report

    Hello all,
       Can any one please guide me how can I send different Partner data to Header & Item by running a Z Quotation Report in SE38. Actually Now I am able to create a Quotation which takes same Partner data of Header to Item data as well but my requirement is to send different Partner data to Header & Item in a quotation.
    If you have sample code for the same please do share. I will be thankful to you.
    Waiting for helpful suggestions.
    Regards
    -Ajay

    Hi Ajay,
    I was referring to CRM_PARTNER_MAINTAIN_MULTI_OW and CRM_PARTNER_MAINTAIN_SINGLE_OW function modules. A sample working code (written in badi) for an order below.
    l_wa_partner_com-partner_no  = l_v_bp_guid.
    l_wa_partner_com-partner_fct  = l_c_partner_fct.
    l_wa_field_names-fieldname = l_c_field_partner.
    INSERT l_wa_field_names INTO TABLE l_i_input_fields.
    l_wa_field_names-fieldname = l_c_field_fct.
    INSERT l_wa_field_names INTO TABLE l_i_input_fields.
    ** Update the order with new partners
    CALL FUNCTION 'CRM_PARTNER_MAINTAIN_SINGLE_OW'
    EXPORTING
    iv_ref_guid                    = is_orderadm_h_wrk-guid
    iv_ref_kind                    = l_c_ref_kind " Pass B here in u'r case
    is_partner_com            = l_wa_partner_com
    CHANGING
    ct_input_field_names   = l_i_input_fields
    EXCEPTIONS
    error_occurred             = 1
    OTHERS                      = 2.
    IF sy-subrc <> 0.
    ENDIF.
    Thanks,
    Faisal

  • Can we send the data into different data target from single datasource how

    Hai
    can we send the data into different data target from single datasource how ?

    Hi,
    Create the transformation for each target and connect through DTP if you are in BI 7.0
    If it is BW 3.5 create transfer rules and load it Info source and then different update rules for different targets then load it using IP.
    If you are speaking about loading data from R3 data source to multiple data sources in BI
    Then follow the below step.
    1)create init IP's and run the IP's with different selection to different DSO(With same selection it is not possible).
    2)Then you will have different delta queues for the same data source in RSA7
    3)Your delta loads will run fine to different data sources from same DS in R3.
    Hope this helps
    Regards,
    Venkatesh

  • Sending log data to two different files using log4j

    Hi,
    Can some one please help me with my problem I have here?
    I want to send log data to two diffrent files depending on the logging level such as DEBUG and WARN.
    How can you configure this in log4j.properties.
    Please post sample code for log4j.properties to achieve this.
    Thanks in advance.
    rsreddych

    Hi,
    Finally, I found the solution to this problem my self.
    What you need to do is define two loggers in the application, and set two priority levels to these loggers and define two out put files to these loggers. Deploy the war file, restart application server and you are good to go.
    This seems to be working for me. Only glitch I found is, the out put in
    the second file is displaying one space character at the start of line starting from second line (First line don't have this problem). This is odd. It may be because of my faulty code. Any how thanks for you all.
    rsreddych

  • Query : Send same data to two different systems

    Hi,
    We are getting data from BI to PI through proxy. And using soap adapter we are sending the data to non sap system.
    Now my query is : I want to send the data which came from BI to PI to two non sap (Prod and Quality) systems. How can we do that? Waiting for your help me on this.

    Hi,
    You have to add 2 receivers in receiver determination (one for quality & one for prod).
    After that, create 2 interface determinations separately one for each, also 2 receiver agreement & 2 receiver channels.
    -Supriya.

  • Can I just send the data to NIC's buffer in LV? (how to access data link layer?)

    Now, I need to send something over network, yet those are not packed in TCP/IP or IPX packet, them are just some data a device can understand.
    So the problem I met is seems I cann't send the data into NIC's buffer(I can do that in C, yet I want to use LabVIEW to do that)
    And I don't want to do that by using a CIN, every time the program call or exit the CIN,there will be a delay, it's would bring me a bad impace to my application.
    So is there anyone can help me with that? I really need some master can give me a comfirm!

    I'm not an expert on network communication, so maybe you can explain how data can travel on an IP based network without being wrapped in some packets from a protocol like TCP or UDP? Maybe it's possible for LabVIEW to do what you want, or maybe compiling your C code into a DLL (no need for a CIN) and calling that will be fast enough for what you want.
    In any case, I think I can answer one question:
    So, how long would we have to expect LV add/improve these functions? Could it be in next minor update?
    Not likely, nor is it likely to be in any other version soon. LabVIEW is not built to handle this sort of thing any more than PHP or perl are and I don't think NI will change it to be able to do so. For that you have C, which you can call through a DLL. Some DLLs are supported on RT targets as well, but I'm not sure what the criteria are. They are probably listed somewhere on this site.
    I assume that calling a DLL in an RT target will hurt your determinism, but communication code should not be time-critical code, unless your application is an application which requires high speed data transfers and synchronization between different nodes.
    Try to take over the world!

  • How to send joystick data over TCP connection

    Hi all,
    I am a long time Labview discussion forum user for learning, but this is my first time posting a question, I hope somebody can help me!
    In the attached VI I am trying to send data from a joystick over a TCP connection. I can send data fine using the TCP examples (in fact the majority of my VI is just a copy of the example). However I am to the point where I do not know how to send all the data necessary (3 axis data, 12 buttons, and the POV data) over TCP. Strings, clusters, and arrays were never my strong suite and converting between them is a nightmare for me.
    Basically I am trying to send each axis data (X,Y, and Z), button data (12 buttons), and POV data (the POV data will be calculated to adjust the position of a camera, so the immediate data is not important, I will add functions to add the change in the button movements to write a standing position for two servos [pan and tilt], for which that I will need to send over the TCP connection) over the TCP connection to control various cameras and motors. I don't know if it is posible to send that much data over a TCP connection in one write VI through a string, and also how to separate the string on the other side in order to control the client VI.
    Again, the actual TCP communication I get, and can operate fine, just formatting all the data into a string (or whatever is required) so that I can unpack on the other side is the issue here.
    Another question I have (not impotant to get the program running just might make it easier on me) is can a TCP server (which sends the data to the client) also recieve data back from the client on the same port ( for example sensor data and digital positions [on,off])? Or do I need to set up two TCP communication loops with the first client acting as the server on a different port than the first, which then sends the data to the original server, which also has a client TCP configuration in another loop? I hope this makes sense...
    One final question.....I already have a solution to this but using labview for the entirety of this project would be nice. I use skype to stream 1080p video from a webcam to my computer so I can view live feed. Can labview do this? This would be awesome if so, I am just not sure if the communication protocols in use could support real time (or as close as possible to streaming) for 1080p video.
    Thanks all in advance for your help,
    Physicsnole
    Attachments:
    cameraserver.vi ‏24 KB
    cameraclient.vi ‏18 KB

    Physicsnole wrote:
    In the attached VI I am trying to send data from a joystick over a TCP connection. I can send data fine using the TCP examples (in fact the majority of my VI is just a copy of the example). However I am to the point where I do not know how to send all the data necessary (3 axis data, 12 buttons, and the POV data) over TCP. Strings, clusters, and arrays were never my strong suite and converting between them is a nightmare for me.
    Well, you cast the axis info cluster to a string, but then you cast it back to an array of DBL. Thatr's not compatible. You should probably cast it back to an "axis info" cluster of exactly the same type. Go the the other VI and right-click the cluster wire to create a constant. Now move that diagram cluster constant to the other VI and use it as type.
    Your default ports don't seem to match. You seem to have client and server roles confused. In the sever you create a listener, but then you start sending packets, even though no connection is established. The connection needs to be initiated by the client.
    Your client stops the loop the first time a timeout is encountered. Shouldn't that be more permanent? Also, please retain code clarity and avoid unecessary complexities. For example, replace the "not or" with a plain "or" and change the loop to "stop if true"
    Physicsnole wrote:
    Basically I am trying to send each axis data (X,Y, and Z), button data (12 buttons), and POV data (the POV data will be calculated to adjust the position of a camera, so the immediate data is not important, I will add functions to add the change in the button movements to write a standing position for two servos [pan and tilt], for which that I will need to send over the TCP connection) over the TCP connection to control various cameras and motors. I don't know if it is posible to send that much data over a TCP connection in one write VI through a string, and also how to separate the string on the other side in order to control the client VI.
    You can send as much as you want. The casting to/from string is the same as described above.
    Physicsnole wrote:
    Another question I have (not impotant to get the program running just might make it easier on me) is can a TCP server (which sends the data to the client) also recieve data back from the client on the same port ( for example sensor data and digital positions [on,off])? Or do I need to set up two TCP communication loops with the first client acting as the server on a different port than the first, which then sends the data to the original server, which also has a client TCP configuration in another loop? I hope this makes sense..
    The primary function of a "server" is to wait for a connection and then communicate with the client once a conenction is established. An established TCP/IP connection is fully two-way and both sides can send and receive.
    LabVIEW Champion . Do more with less code and in less time .

  • Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

    Hi,
    I am using APEX version 4.2.1.00.08 with Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    I've developed an application, that was working fine till 3 days ago...
    At the moment, I can log into the application but when I enter my ID/PW it takes me to my 1st page but then it runs for a mint or so (trying to load charts) and then generates following error message
    No data received
    Unable to load the webpage because the server sent no data.
    Here are some suggestions:
    Reload this webpage later.
    Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
    interestingly, I haven't changed anything within the application
    I've tried it with Chrome Version 27.0.1453.116 m and IE 8.0...
    with IE 8.0, it shows I/O Error in place of my graphs and get's a pop up message that displays "Error - error unknown"
    The only thing that I can recall doing differently is logging via remote desktop connection, but I've used remote desktop in the past as well and it worked.
    Please advice

    anyone...?

  • Datagram Socket  send different sizes Buffers ...

    hi,
    I'm sending different sizes Datagrams from a datagram socket
    so how can I receive them
    I've tried to send the packet in two packets the first one is fixed size that carries the size of the real data then create a suitable buffer on the client side to receive the second packet but the result is very slow ...
    I'd like to know any suggestions about how to do this properly
    to reach a stream like synchronization between the client and the server ..
    thanks in advance

    use a receive buffer large enough for the largest package possible on your network. Typically, this is 1500 data bytes, but it depends on the network technology. If you want to be sure, allocate a 65536 bytes buffer, which will fit for any technology. But typically, 1550 will fit in a LAN.

  • Sending different table id's into user table using a form

    hello, this is a lead up to another discussion that has not been resolved. i am getting pretty desperate now. i am sure it cant be that hard and really need help i am using MySQL php
    i have created a input form that when submitted sends the data to 3 different tables
    i have a tenant table. guarantor table and landlord table all in the database. i also have a property table that is already populated by another form on the website. on the input form though the property table is a dynamic drop down menu that when selected populates fields on the top of the input form
    i have the understanding that because the guarantorID, landlordID and propertyID are all inputting new data these will be input commands, however the property is already in the table so this will be an update command?
    what i need to do is when the form is submitted the guarantorID, landlordID and propertyID all are sent to columns in the tenant table. this is called join i believe?
    i have provided the unformatted code below that all works, but what i need to know how to do is the above. Link them all togeather and send all the id from the  guarantorID, landlordID and propertyID to the tenant table so they can all be reference when i create new pages
    can this be done?
    <?php require_once('Connections/nameprop.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO name_tenant (Title, `First Names`, Surname, DOB, DOBMonth, DOBYear, Nationality, Marital_Status, DayNumber, EvenNumber, MobNumber, Smoker, CurrentAdd, Status, PreviousAdd, Student, FinancialCCj, FinancialArrears, FinancialBankR, FinancialNone, BankName, AccountNum, SortCode, BankDuration, DebitCCCard, Electoral, `next of kin`) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['Title'], "text"),
                           GetSQLValueString($_POST['First_Names'], "text"),
                           GetSQLValueString($_POST['Surname'], "text"),
                           GetSQLValueString($_POST['DOB'], "text"),
                           GetSQLValueString($_POST['DOBMonth'], "text"),
                           GetSQLValueString($_POST['DOBYear'], "text"),
                           GetSQLValueString($_POST['Nationality'], "text"),
                           GetSQLValueString($_POST['Marital_Status'], "text"),
                           GetSQLValueString($_POST['DayNumber'], "double"),
                           GetSQLValueString($_POST['EvenNumber'], "double"),
                           GetSQLValueString($_POST['MobNumber'], "double"),
                           GetSQLValueString($_POST['Smoker'], "text"),
                           GetSQLValueString($_POST['CurrentAdd'], "text"),
                           GetSQLValueString($_POST['Status'], "text"),
                           GetSQLValueString($_POST['PreviousAdd'], "text"),
                           GetSQLValueString($_POST['Student'], "text"),
                           GetSQLValueString($_POST['FinancialCCj'], "text"),
                           GetSQLValueString($_POST['FinancialArrears'], "text"),
                           GetSQLValueString($_POST['FinancialBankR'], "text"),
                           GetSQLValueString($_POST['FinancialNone'], "text"),
                           GetSQLValueString($_POST['BankName'], "text"),
                           GetSQLValueString($_POST['AccountNum'], "double"),
                           GetSQLValueString($_POST['SortCode'], "double"),
                           GetSQLValueString($_POST['BankDuration'], "text"),
                           GetSQLValueString($_POST['DebitCCCard'], "text"),
                           GetSQLValueString($_POST['Electoral'], "text"),
                           GetSQLValueString($_POST['next_of_kin'], "text"));
      mysql_select_db($database_nameprop, $nameprop);
      $Result1 = mysql_query($insertSQL, $nameprop) or die(mysql_error());
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO name_guarantor (FullName, Title, DOBday, DOBMonth, DOBYear, Sex, MaritalStatus, DaytimeNumber, EveningNumber, MobileNumber, Email, CurrentAddress, PreviousAddress, BankName, AccountNum, SortCode, BankDuration, CCDebitCard, ElectoralRoll, Profession, AnnualWages, PayrollNum, EmpName, EmpAddress, EmpContName, EmpContNumber, EmpEmail, EmpFinaHist, EmpDate, EmpDisclaimer) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['FullName'], "text"),
                           GetSQLValueString($_POST['Title'], "text"),
                           GetSQLValueString($_POST['DOBday'], "double"),
                           GetSQLValueString($_POST['DOBMonth'], "text"),
                           GetSQLValueString($_POST['DOBYear'], "text"),
                           GetSQLValueString($_POST['Sex'], "text"),
                           GetSQLValueString($_POST['MaritalStatus'], "text"),
                           GetSQLValueString($_POST['DaytimeNumber'], "double"),
                           GetSQLValueString($_POST['EveningNumber'], "double"),
                           GetSQLValueString($_POST['MobileNumber'], "double"),
                           GetSQLValueString($_POST['Email'], "text"),
                           GetSQLValueString($_POST['CurrentAddress'], "text"),
                           GetSQLValueString($_POST['PreviousAddress'], "text"),
                           GetSQLValueString($_POST['BankName'], "text"),
                           GetSQLValueString($_POST['AccountNum'], "double"),
                           GetSQLValueString($_POST['SortCode'], "double"),
                           GetSQLValueString($_POST['BankDuration'], "text"),
                           GetSQLValueString($_POST['CCDebitCard'], "text"),
                           GetSQLValueString($_POST['ElectoralRoll'], "text"),
                           GetSQLValueString($_POST['Profession'], "text"),
                           GetSQLValueString($_POST['AnnualWages'], "text"),
                           GetSQLValueString($_POST['PayrollNum'], "double"),
                           GetSQLValueString($_POST['EmpName'], "text"),
                           GetSQLValueString($_POST['EmpAddress'], "text"),
                           GetSQLValueString($_POST['EmpContName'], "text"),
                           GetSQLValueString($_POST['EmpContNumber'], "double"),
                           GetSQLValueString($_POST['EmpEmail'], "text"),
                           GetSQLValueString($_POST['EmpFinaHist'], "text"),
                           GetSQLValueString($_POST['EmpDate'], "double"),
                           GetSQLValueString($_POST['EmpDisclaimer'], "text"));
      mysql_select_db($database_nameprop, $nameprop);
      $Result1 = mysql_query($insertSQL, $nameprop) or die(mysql_error());
      header(sprintf("Location: %s", $insertGoTo));
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO name_landlord (name, `telephone number`, mobileNumber, email, address, dateday, datemonth, dateyear, terms) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['name'], "text"),
                           GetSQLValueString($_POST['telephone_number'], "text"),
                           GetSQLValueString($_POST['mobileNumber'], "text"),
                           GetSQLValueString($_POST['email'], "text"),
                           GetSQLValueString($_POST['address'], "text"),
                           GetSQLValueString($_POST['dateday'], "text"),
                           GetSQLValueString($_POST['datemonth'], "text"),
                           GetSQLValueString($_POST['dateyear'], "text"),
                           GetSQLValueString($_POST['terms'], "text"));
      mysql_select_db($database_nameprop, $nameprop);
      $Result1 = mysql_query($insertSQL, $nameprop) or die(mysql_error());
      $insertGoTo = "pay-online.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_nameprop, $nameprop);
    $query_rsApplyNow = "SELECT * FROM name_editprop";
    $rsApplyNow = mysql_query($query_rsApplyNow, $nameprop) or die(mysql_error());
    $row_rsApplyNow = mysql_fetch_assoc($rsApplyNow);
    $totalRows_rsApplyNow = mysql_num_rows($rsApplyNow);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script type="text/javascript">
    function loadFields(theValue) {
             var props = theValue.split("|");
              var prop_id = props[0];
              var propAdd = props[1] ;
              var propPrice = props[2];
                          var town = props[3]
                          var postcode = props[4]
              document.getElementById('prop_id').value=prop_id;
              document.getElementById('Add1').value=propAdd;
                          document.getElementById('town').value=town;
                          document.getElementById('postcode').value=postcode;
              document.getElementById('RentalPrice').value='£' + propPrice +'/ per month';
    </script>
    </head>
    <body>
    <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1">
      <input type="hidden" name="MM_insert" value="form1" />
    <!-- Place the following code where you want to show the result of the property selection --><table width="100%" border="0" cellpadding="0">
      <tr>
        <td width="23%"><!-- the following code is just copied from your code -->
          <select name="Select Property" id="Select Property" onchange="loadFields(this.value)">
            <option value="select your property">select your property</option>
            <?php
    do {
    ?>
            <option value="<?php echo $row_rsApplyNow['prop_id'] . '|' . $row_rsApplyNow['prop_add1'] . '|' . $row_rsApplyNow['rental_price'] . '|' . $row_rsApplyNow['town'] . '|' . $row_rsApplyNow['postcode'];?>"><?php echo $row_rsApplyNow['prop_id'] . " , " . $row_rsApplyNow['prop_add1']; ?></option>
            <?php
    } while ($row_rsApplyNow = mysql_fetch_assoc($rsApplyNow));
      $rows = mysql_num_rows($rsApplyNow);
      if($rows > 0) {
          mysql_data_seek($rsApplyNow, 0);
                $row_rsApplyNow = mysql_fetch_assoc($rsApplyNow);
    ?>
          </select></td>
        <td width="77%"> </td>
      </tr>
      <tr>
        <td>Property ID:</td>
        <td><input type="text" name="prop_id" id="prop_id" readonly="readonly" /></td>
      </tr>
      <tr>
        <td>Address</td>
        <td><input type="text" name="Add1" id="Add1" readonly="readonly" /></td>
      </tr>
      <tr>
        <td>Town</td>
        <td><input type="text" name="town" id="town" readonly="readonly" /></td>
      </tr>
      <tr>
        <td>Postcode</td>
        <td><label for="postcode"></label>
          <input type="text" name="postcode" id="postcode" readonly="readonly" /></td>
      </tr>
      <tr>
        <td>Rent</td>
        <td><input type="text" name="RentalPrice" id="RentalPrice" readonly="readonly" /></td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td colspan="2"><table width="100%" border="0" cellpadding="0">
          <tr>
            <td>tenant</td>
            <td>gaurantor</td>
            <td>landlord</td>
          </tr>
          <tr>
            <td><table align="center">
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Title:</td>
                <td><input type="text" name="Title" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">First Names:</td>
                <td><input type="text" name="First_Names" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Surname:</td>
                <td><input type="text" name="Surname" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DOB:</td>
                <td><input type="text" name="DOB" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DOBMonth:</td>
                <td><input type="text" name="DOBMonth" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DOBYear:</td>
                <td><input type="text" name="DOBYear" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Nationality:</td>
                <td><input type="text" name="Nationality" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Marital_Status:</td>
                <td><input type="text" name="Marital_Status" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DayNumber:</td>
                <td><input type="text" name="DayNumber" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">EvenNumber:</td>
                <td><input type="text" name="EvenNumber" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">MobNumber:</td>
                <td><input type="text" name="MobNumber" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Smoker:</td>
                <td><input type="text" name="Smoker" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">CurrentAdd:</td>
                <td><input type="text" name="CurrentAdd" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Status:</td>
                <td><input type="text" name="Status" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">PreviousAdd:</td>
                <td><input type="text" name="PreviousAdd" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Student:</td>
                <td><input type="text" name="Student" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">FinancialCCj:</td>
                <td><input type="text" name="FinancialCCj" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">FinancialArrears:</td>
                <td><input type="text" name="FinancialArrears" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">FinancialBankR:</td>
                <td><input type="text" name="FinancialBankR" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">FinancialNone:</td>
                <td><input type="text" name="FinancialNone" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">BankName:</td>
                <td><input type="text" name="BankName" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">AccountNum:</td>
                <td><input type="text" name="AccountNum" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">SortCode:</td>
                <td><input type="text" name="SortCode" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">BankDuration:</td>
                <td><input type="text" name="BankDuration" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DebitCCCard:</td>
                <td><input type="text" name="DebitCCCard" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Electoral:</td>
                <td><input type="text" name="Electoral" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Next of kin:</td>
                <td><input type="text" name="next_of_kin" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right"> </td>
                <td> </td>
              </tr>
            </table></td>
            <td><table align="center">
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">FullName:</td>
                <td><input type="text" name="FullName" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Title:</td>
                <td><input type="text" name="Title2" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DOBday:</td>
                <td><input type="text" name="DOBday" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DOBMonth:</td>
                <td><input type="text" name="DOBMonth2" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DOBYear:</td>
                <td><input type="text" name="DOBYear2" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Sex:</td>
                <td><input type="text" name="Sex" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">MaritalStatus:</td>
                <td><input type="text" name="MaritalStatus" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DaytimeNumber:</td>
                <td><input type="text" name="DaytimeNumber" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">EveningNumber:</td>
                <td><input type="text" name="EveningNumber" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">MobileNumber:</td>
                <td><input type="text" name="MobileNumber" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Email:</td>
                <td><input type="text" name="Email" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">CurrentAddress:</td>
                <td><input type="text" name="CurrentAddress" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">PreviousAddress:</td>
                <td><input type="text" name="PreviousAddress" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">BankName:</td>
                <td><input type="text" name="BankName2" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">AccountNum:</td>
                <td><input type="text" name="AccountNum2" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">SortCode:</td>
                <td><input type="text" name="SortCode2" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">BankDuration:</td>
                <td><input type="text" name="BankDuration2" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">CCDebitCard:</td>
                <td><input type="text" name="CCDebitCard" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">ElectoralRoll:</td>
                <td><input type="text" name="ElectoralRoll" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Profession:</td>
                <td><input type="text" name="Profession" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">AnnualWages:</td>
                <td><input type="text" name="AnnualWages" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">PayrollNum:</td>
                <td><input type="text" name="PayrollNum" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">EmpName:</td>
                <td><input type="text" name="EmpName" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">EmpAddress:</td>
                <td><input type="text" name="EmpAddress" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">EmpContName:</td>
                <td><input type="text" name="EmpContName" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">EmpContNumber:</td>
                <td><input type="text" name="EmpContNumber" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">EmpEmail:</td>
                <td><input type="text" name="EmpEmail" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">EmpFinaHist:</td>
                <td><input type="text" name="EmpFinaHist" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">EmpDate:</td>
                <td><input type="text" name="EmpDate" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">EmpDisclaimer:</td>
                <td><input type="text" name="EmpDisclaimer" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right"> </td>
                <td> </td>
              </tr>
            </table></td>
            <td><table align="center">
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Name:</td>
                <td><input type="text" name="name" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Telephone number:</td>
                <td><input type="text" name="telephone_number" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">MobileNumber:</td>
                <td><input type="text" name="mobileNumber" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Email:</td>
                <td><input type="text" name="email" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Address:</td>
                <td><input type="text" name="address" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Dateday:</td>
                <td><input type="text" name="dateday" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Datemonth:</td>
                <td><input type="text" name="datemonth" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Dateyear:</td>
                <td><input type="text" name="dateyear" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Terms:</td>
                <td><input type="text" name="terms" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right"> </td>
                <td><input type="submit" value="Insert record" /></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        </tr>
    </table>
    </form>
    <p> </p>
    <p> </p>
    </form>
    <p> </p>
    </body>
    </html>
    <?php
    mysql_free_result($rsApplyNow);
    ?>

    basically it isnt coming up with an error code just not sending the information across and not redirecting to the next page
    here is the full code for the temp for i am working on.
    <?php require_once('Connections/nameprop.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO name_tenant (Title, `First Names`, Surname, DOB, DOBMonth, DOBYear, Nationality, Marital_Status, DayNumber, EvenNumber, MobNumber, Smoker, CurrentAdd, Status, PreviousAdd, Student, FinancialCCj, FinancialArrears, FinancialBankR, FinancialNone, BankName, AccountNum, SortCode, BankDuration, DebitCCCard, Electoral, `next of kin`, prop_id) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['Title'], "text"),
                           GetSQLValueString($_POST['First_Names'], "text"),
                           GetSQLValueString($_POST['Surname'], "text"),
                           GetSQLValueString($_POST['DOB'], "text"),
                           GetSQLValueString($_POST['DOBMonth'], "text"),
                           GetSQLValueString($_POST['DOBYear'], "text"),
                           GetSQLValueString($_POST['Nationality'], "text"),
                           GetSQLValueString($_POST['Marital_Status'], "text"),
                           GetSQLValueString($_POST['DayNumber'], "double"),
                           GetSQLValueString($_POST['EvenNumber'], "double"),
                           GetSQLValueString($_POST['MobNumber'], "double"),
                           GetSQLValueString($_POST['Smoker'], "text"),
                           GetSQLValueString($_POST['CurrentAdd'], "text"),
                           GetSQLValueString($_POST['Status'], "text"),
                           GetSQLValueString($_POST['PreviousAdd'], "text"),
                           GetSQLValueString($_POST['Student'], "text"),
                           GetSQLValueString($_POST['FinancialCCj'], "text"),
                           GetSQLValueString($_POST['FinancialArrears'], "text"),
                           GetSQLValueString($_POST['FinancialBankR'], "text"),
                           GetSQLValueString($_POST['FinancialNone'], "text"),
                           GetSQLValueString($_POST['BankName'], "text"),
                           GetSQLValueString($_POST['AccountNum'], "double"),
                           GetSQLValueString($_POST['SortCode'], "double"),
                           GetSQLValueString($_POST['BankDuration'], "text"),
                           GetSQLValueString($_POST['DebitCCCard'], "text"),
                           GetSQLValueString($_POST['Electoral'], "text"),
                           GetSQLValueString($_POST['next_of_kin'], "text"),
                           GetSQLValueString($_POST['prop_id'], "text"));
      mysql_select_db($database_nameprop, $nameprop);
      $Result1 = mysql_query($insertSQL, $nameprop) or die(mysql_error());
    mysql_select_db($database_nameprop, $nameprop);
    $query_rsApplyNow = "SELECT * FROM name_editprop";
    $rsApplyNow = mysql_query($query_rsApplyNow, $nameprop) or die(mysql_error());
    $row_rsApplyNow = mysql_fetch_assoc($rsApplyNow);
    $totalRows_rsApplyNow = mysql_num_rows($rsApplyNow);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script type="text/javascript">
    function loadFields(theValue) {
             var props = theValue.split("|");
              var prop_id = props[0];
              var propAdd = props[1] ;
              var propPrice = props[2];
                          var town = props[3]
                          var postcode = props[4]
              document.getElementById('prop_id').value=prop_id;
              document.getElementById('Add1').value=propAdd;
                          document.getElementById('town').value=town;
                          document.getElementById('postcode').value=postcode;
              document.getElementById('RentalPrice').value='£' + propPrice +'/ per month';
    </script>
    </head>
    <body>
    <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1">
    <!-- Place the following code where you want to show the result of the property selection --><table width="100%" border="0" cellpadding="0">
      <tr>
        <td width="23%"><!-- the following code is just copied from your code -->
          <select name="Select Property" id="Select Property" onchange="loadFields(this.value)">
            <option value="select your property">select your property</option>
            <?php
    do {
    ?>
            <option value="<?php echo $row_rsApplyNow['prop_id'] . '|' . $row_rsApplyNow['prop_add1'] . '|' . $row_rsApplyNow['rental_price'] . '|' . $row_rsApplyNow['town'] . '|' . $row_rsApplyNow['postcode'];?>"><?php echo $row_rsApplyNow['prop_id'] . " , " . $row_rsApplyNow['prop_add1']; ?></option>
            <?php
    } while ($row_rsApplyNow = mysql_fetch_assoc($rsApplyNow));
      $rows = mysql_num_rows($rsApplyNow);
      if($rows > 0) {
          mysql_data_seek($rsApplyNow, 0);
                $row_rsApplyNow = mysql_fetch_assoc($rsApplyNow);
    ?>
          </select></td>
        <td width="77%"> </td>
      </tr>
      <tr>
        <td>Property ID:</td>
        <td><input type="text" name="prop_id" id="prop_id" readonly="readonly" /></td>
      </tr>
      <tr>
        <td>Address</td>
        <td><input type="text" name="Add1" id="Add1" readonly="readonly" /></td>
      </tr>
      <tr>
        <td>Town</td>
        <td><input type="text" name="town" id="town" readonly="readonly" /></td>
      </tr>
      <tr>
        <td>Postcode</td>
        <td><label for="postcode"></label>
          <input type="text" name="postcode" id="postcode" readonly="readonly" /></td>
      </tr>
      <tr>
        <td>Rent</td>
        <td><input type="text" name="RentalPrice" id="RentalPrice" readonly="readonly" /></td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td colspan="2"><table width="100%" border="0" cellpadding="0">
          <tr>
            <td width="29%"><table align="center">
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Title:</td>
                <td><input type="text" name="Title" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">First Names:</td>
                <td><input type="text" name="First_Names" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Surname:</td>
                <td><input type="text" name="Surname" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DOB:</td>
                <td><input type="text" name="DOB" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DOBMonth:</td>
                <td><input type="text" name="DOBMonth" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DOBYear:</td>
                <td><input type="text" name="DOBYear" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Nationality:</td>
                <td><input type="text" name="Nationality" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Marital_Status:</td>
                <td><input type="text" name="Marital_Status" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DayNumber:</td>
                <td><input type="text" name="DayNumber" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">EvenNumber:</td>
                <td><input type="text" name="EvenNumber" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">MobNumber:</td>
                <td><input type="text" name="MobNumber" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Smoker:</td>
                <td><input type="text" name="Smoker" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">CurrentAdd:</td>
                <td><input type="text" name="CurrentAdd" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Status:</td>
                <td><input type="text" name="Status" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">PreviousAdd:</td>
                <td><input type="text" name="PreviousAdd" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Student:</td>
                <td><input type="text" name="Student" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">FinancialCCj:</td>
                <td><input type="text" name="FinancialCCj" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">FinancialArrears:</td>
                <td><input type="text" name="FinancialArrears" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">FinancialBankR:</td>
                <td><input type="text" name="FinancialBankR" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">FinancialNone:</td>
                <td><input type="text" name="FinancialNone" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">BankName:</td>
                <td><input type="text" name="BankName" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">AccountNum:</td>
                <td><input type="text" name="AccountNum" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">SortCode:</td>
                <td><input type="text" name="SortCode" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">BankDuration:</td>
                <td><input type="text" name="BankDuration" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">DebitCCCard:</td>
                <td><input type="text" name="DebitCCCard" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Electoral:</td>
                <td><input type="text" name="Electoral" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Next of kin:</td>
                <td><input type="text" name="next_of_kin" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right"> </td>
                <td><input type="submit" value="Insert record" /></td>
              </tr>
            </table></td>
            <td width="68%"> </td>
            <td width="3%"> </td>
          </tr>
          <tr>
            <td> </td>
            <td> </td>
            <td> </td>
          </tr>
        </table></td>
        </tr>
    </table>
    </form>
    <input type="hidden" name="MM_insert" value="form1" />
    </form>
    <p> </p>
    </body>
    </html>
    <?php
    mysql_free_result($rsApplyNow);
    ?>

  • Executing same VI multiple times, sending/retrieving data

    I know how to
    execute a single vi multiple times using the invoke node/reentrant method.  But
    I am not sure how to send/get data the running vi's.
    A little background
    on my project.  I have to test up to 64 units for a long period of time.  When
    one of the 64 units is found, I want the test to execute the test.vi then come
    back to my main.vi and wait for the next unit to test to be
    found.
    The test.vi will
    require some information to run so I need to get that data into the test.vi
    along with a way to stop the tests while they are running.  I also want to
    report running data back to the user, so I need to get data from
    test.vi.
    I am using a
    producer/consumer/display loop(s) and I would like to be able to use my display
    queue to collect and sort data from my running test.vi's.
    I may be going about
    this wrong executing test.vi using the invoke node, but I am trying to find away
    that the test vi's will independently execute and run.
    Please let me know
    if I need to clarify my situation.  I have been trying to figure this out for a
    while, so it may make sense in my head, but not on paper.
    Thanks,
    Zac

    If I understand you correctly, you are invoking a reentrant VI to run in up to 64 different instances?  And you need to set up a communications mechanism between each instance and the main VI.
    I would look at a functional global variable or action engine.  (Search on either of those terms and  you will come up with numerous examples).
    Let the FGV store data in its uninitialized shift registers.  If you need a separate queue from each VI instance to the main, then have one shift register be an array of queue references.  Let's say you are ready to invoke the first instance of your VI.  Pass to it and ID value of 0 in its connector pane.  Obtain a queue and store the reference to that in index 0 of the queue array in the FGV.  Every time you need to enqueue or dequeue from queue 0, you use index array to retrieve the reference stored in queue 0.  You would do that whenever you need to work inside the instance of the VI (have it remember that its ID was 0) or in the main VI.
    Next instance of the reentrant VI, you pass it a 1 as its ID.  Let the FGV obtain a queue and store its reference in index 1 of the array.  You could have other values stored in the FGV or other arrays such as an array of booleans that serve as flags to tell the instance of the reentrant VI to stop running.
    Basically the FGV or action engine becomes a storehouse of information for each instance of the reentrant VI.  It will be scalable.  Each time you need to add a new instance of your VI, you store the info in another element of the array stored in the FGV that is based on a ID number you assign as you create each instance.

  • Reusing Human Tasks across BPM Processes with different Data Objects

    Hi
    JDeveloper 11.1.1.6, WLS 10.3.6, SOA/BPM 11.1.1.6
    I have defined 2 BPM Processes, P1 and P2, which has 2 different Process Data Objects O1 and O2.
    But I am reusing the same Human Task in both the processes.
    For the Human Task to support the activities in both the processes, I have added O1 and O2 Data Objects in the Human Task Definition.
    And hence the ADF Taskflow / page generated out of the Human Task will have both the Data Objects O1 and O2 as payload objects in the Page.
    When an instance of Process P1 is created, the payload O1 will have values, but O2 will be null.
    And when an instance of Process P2 is created, the payload O2 will have values, but O1 will be null.
    It works well like this, but I am a bit concerned about the performance from BPM Process and also ADF page.
    In ADF page, let us say, somehow I can control the rendering of the attributes or creation of the iterator bindings based on identifying which process is being executed.
    (By setting the iterator binding refresh property in page definition)
    In this way attribute bindings for O1 will not be created when P2 is being executed.
    But still when the Process instance is created, and when we see the payload structure of the human task in the EM - Audit Trail,
    I still see both data objects O1 and O2 are created in the Payload, but O1 will have nulls in process P2.
    So my question is, from performance point of view, is it advisable to define different Data Objects in reusable Human tasks ?
    Or should I have to define a separate Human Task definition which contains only the Data Objects related to the process it is being called from ?
    Thanks for any help
    Sameer 

    Martijn,
    You are correct in your assessment that the JAG in the current JHeadstart release cannot cope with multiple bc4j packages. There is no work around for this. Upgrading to 9051 will not help.
    In the JHeadstart-ADF release, this restriction has been lifted. You can place your EO, VO and AM objects in different packages, and you can group them in a separate project (Model project), while generating your JHeadstart application in a ViewController project.
    We have a number of customers that use the latest JHeadstart-ADF builds to build their ADF apps. If you are interested in joining this beta program, please send an e-mail to [email protected]
    Steven Davelaar,
    JHeadstart Team.

  • Send audio data over UDP

    Hello again,
    Sorry for asking a lot of questions, but I'm developing an application in jmf and I don't know so much how it works...
    I'm trying to receive rtp data from the network, then uncompress to RAW format (but it has to be coded in some codec like g711, g729 or GSM) and save it into a buffer. For this I'm following the example DataSourceReader. I have attached some things like keep off the rtp header, and save the audio data into a bytebuffer (instead of using the printInfo() method I'm using saveIntoByteBuffer() method).
    Another class is sending the data (saved in byteBuffer) over the network (UDP, not RTP-UDP).
    And anotherone is receiving this data, and creating a DataSource to play the audio data received.
    To do this, I don't know exactly how to do it. I need to create a DataSource like the examples (LiveStream and DataSource from [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/LiveData.html |http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/LiveData.html] ) or can I do it like JpegImagesToMovie from [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html] ?
    Sorry if it's an easy question, but I don't understand so much why implementing the 'same' thing (custom DataSource) it's implemented different.
    Thanks

    Sorry if it's an easy question, but I don't understand so much why implementing the 'same' thing (custom DataSource) it's implemented different.They aren't the same thing, actually. DataSource is the parent class, but there are 2 different kinds of DataSources.
    A PushBufferDataSource will "push" the data out when it's available to be read. Whenever it decides it has data ready to be read, it informs whatever is reading from it that data is available.
    A PullBufferDataSource will not do that. Whenever it has data ready to be read, it doesn't do anything to inform what's reading from it.
    The next obvious question is, why does it matter?
    PullBufferDataSource's are good for situations where the data is always present. For instance, if you're playing a file from your hard drive, it's better to just let your Player object fetch data when it's needed. There's no need for a "data available" event, because, the data is always available...
    PushBufferDataSources are good for situations where data is being generated / received from an outside source. You can't read from it until the data comes in, so rather than blocking and waiting for the read, it'll tell your reader class when to come back for the data.
    Hope that helps!
    P.S. For your needs, you'll want to be using a PushBufferDataSource, so the Live example code.

  • Send same data to two systems

    I tried several ways but failed. And I'm very confused, Is somebody tell me the correct way?
    send the same message to two receivers.
    So there is one Receiver determination, what about interface determination?
    Shoud I use different message interfaces and mapping for two receivers?
    Thanks very much.

    if you want to send same data to two systems this is how it will be
    1 outbound interface
    2 inbound interface (this is for more clarity. The interfaces will use the same message type)
    1 Message mapping
    2 interface mapping
    1 Receiver determination
    2 interface determination
    1 sender agreement
    2 receiver agreement
    This is just 1 design out of the many But i guess the above sud be clear enough.

Maybe you are looking for

  • Can't copy files to archival gold DVD-Rs

    I could use a little help. For some reason I am unable to copy files from my computer to Delkin archival gold DVD-Rs. My computer has 2 Optiarc DVD RW-AD 7170As. I have no trouble copyfing files using other CDs or DVDs. The archival DVDs can be used

  • External displays and projectors

    I've been having problems getting my MacbookAir (Mid 2012) running OSX 10.8.2 to use external displays and video projectors via VGA and DVI adapters. The problem is that if I am connected to my external monitor and disconnect the magsafe power adapte

  • ITunes 10.5 and .m3u streams

    Beginning in iTunes 10.4.x, iTunes stopped handling .m3u files correctly.  A number of folks have said that this was fixed for them in 10.5.  What I find is that when I attempt to import a .m3u file in iTunes 10.5, the first song shows up in a new pl

  • How to created a new report in content tracker report?

    Hi I need to created a new report that show who modified the document's metadata and when, but I have never used Content Tracker and I do not know how. Appreciate the help you can give me. Thanks.

  • EDI messages for ASN and POD - general flow

    Hi, We are looking to send an Advance Shipping Notification Idoc / EDI message to our customer as we despatach and they will send a Proof Of Delivery EDI message to us confirming receipt and quantities. Am I right in saying that the customer MUST tak