Insert in the database

Hello
I'm a product of the table and the table structure is
prod_id  varchar2(50),
prod_name varchar2(1000)
I have a form based on this table

and a button on the form and there is a checkbox on the form

check box value when unchekced = NULL
If it is enabled = SMALL

and the code for my button is
When button pressed
SELECT prod_id_seq_blank.NEXTVAL INTO :product.prod_id FROM DUAL;
and I have a backup button on this form, the code is commit;

I want when I press the button and then I want to enter two codes in the database a sequence like 1010 and the second is 1010Small

Please guide me

Thanks and greetings
Vikas Singhal

Vikas,

To do this, as I said in the previous post, write in the WHEN BUTTON PRESSED trigger

SELECT PROD_ID_SEQ_BLANK.NEXTVAL INTO :PRODUCT.PROD_ID FROM DUAL;

And to relax WHEN--BUTTON of the Save button, write.

     IF UPPER(:PRODUCT.) = 'SMALL' THEN
          INSERT INTO PRODUCT(PROD_ID, PROD_NAME) VALUES(:PRODUCT.PROD_ID || 'small',  :PRODUCT.PROD_NAME);
     END IF;
     COMMIT;

Now the second record will insert only when the box is checked. +(I forgot to Write the If statement in the pervious post) +.

Kind regards

Manu.

If my response or response from another person was helpful, please mark accordingly

Tags: Oracle Development

Similar Questions

  • How to filter the form entries before inserting into the database?

    Hello Adobe Forums,

    This is my first post and im a beginner with dreamweaver. I have created two forms on my site, one for messages (contact form) and the other for the testimony. I used the server behavior record insert to insert the record into the database, and then display the record in my administration area. What I want to do is to make sure that nobody can put the code in one of the entries, and if they do then to strip out code before its insertion in the database. Anyone know how I can do this? I'm not a coder I just use dreamweavers Insert menu, but I can change the code if somone told me what to do and where.

    Thanks in advance

    Dang - sorry-

    foreach ($_POST as $key-online $value) {}

  • CFIF to the boxes being inserted into the database field car_make.

    Hello, I need help on CFIF for the boxes being inserted into the database field car_make.

    At this point, several values is inserted in the car_make field. I would like to only have one value depending on what is checked in the box.

    Thank you

    Here's what I mean. I would like to know if it is is not clear.

    CFIF
    If Honda is checked then Honda value is inserted in the field car_Make

    If if Toyota is checked then Toyota value is inserted in the field car_Make


    If If Subaru is checked then Subaru value is inserted in the field car_Make


    You CAN, of course, but not without being fluent in javascript. Is there a particular reason you want to use checkboxes versus radio buttons?

    From an interface point of view, its generally not a good idea to change the behaviours expected of HTML form elements. If users see an option button, they assume generally that it will allow only 1 choice. If they are presented with a box, they could very easily be expected they could select more than 1.

  • FORMS: Insert to the DATABASE + email

    I recently chose to recreate a site that was removed from the use of our home owner Association. This site has been able to do the two things that I've been able to accomplish a. These two things:

    (1) insert form user data into a database (I CAN DO THIS RIGHT!)
    (2) send an email containing the data of the form to the user (and group)

    Is there a way to accomplish both of these tasks using a DW coding (again, I said, I can INSERT data into the database)

    Thanks for ANY help here!

    Glen the computer guy

    MD...

    Through the use of forms To Go, you have responded with the answer to my question (to solve in BOTH cases).

    I think it's true (that you offered the solution)... I go to their website, but does not see that the added value on Forms To Go mentioned anything on the database insertion process. I sent a query to ask this question even (such as presented here by me at the get-go)... I'll see what they respond with. And, given that a FREE TRIAL of forms To Go, I'll do this and investigate on the spot.

    Thanks also to mock me with your hope of do not jump me on you...

    Funny, inherently we all know where we are 'on the topic' and helping to resolve the problem indicated. Most likely, read you my first response "jump" and determined that I was reacting to the loss of time since I said I had resolved on tasks, but wanted a solution to both... then again, maybe that I could have written it more clearly?

    In any case, for now (and I'll be followed on that as soon as I tried it - forms to go), it's the answer that seems more 'right on!' me.

    Thank you!!

    Glen the computer guy

  • An incorrect Date is insert in the database...

    Hi to you all,.

    After a very long time, I came back with a small problem, I need your help to solve this problem.

    The problem is when I update date of database using the viewobject setter method
    row.setAttribute("UpdatedDate",getCurrentDateString());
    where
        public String currentDateString = "";
        private Timestamp time = new Timestamp(System.currentTimeMillis());
        public String getCurrentDateString() {
            System.out.println("********************In Get Current Date ************************");
            SimpleDateFormat  sdf2=  new SimpleDateFormat("MM-dd-yyyy"); 
            currentDateString = sdf2.format(time);
            System.out.println("Time : " + currentDateString);
            
            return currentDateString;
        }
    I'm wrong in the database value as if I update date 05/01/2009 I get date in the database as of October 30, 2006...

    in my viewobject I use the date format is YYYY-MM-DD.

    but still I don't know how to track the problem.

    I need your help

    Thank you very much
    FIZZZ...

    Fizz,

    Why you set an attribute called "UpdatedDate" (guess it must be a date) to a string value? If UpdatedDate is a date, assign a date.

    ([url http://forums.oracle.com/forums/thread.jspa?messageID=1639196] this is the answer to the question will probably then ask ;)))

    John

  • Failed to insert in the database after the upgrade to 10.1.3.4

    We have recently improved our environment to SOA 10.1.3.4. And have deployed the same code in the new environment. But the DB adapter fails to insert saying:
    A technical error has occurred. Please contact the SCRATCHES Helpdesk.DOE_WSClient.RequisitionRequest.ReqOut: ERROR SOAP; ESB:///ESB_Projects/ESB10134App_ValidateRequisition/PopulateFinancialTransaction.WSDL [PopulateFinancialTransaction_ptt::insert (FinancialTransactionLogCollection)] - SISM JCA Execute of operation "insert" has no reason to: could not create/access the TopLink Session. This session is used to connect to the data store. [Caused by: jdbc/IManageESBDataSourceGlobal not found]. nested exception is: ORABPEL-11622 could not create/access the TopLink Session. This session is used to connect to the data store. [Caused by: jdbc/IManageESBDataSourceGlobal not found] See the first exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml), and then restart the server. Created by Exception [TOPLINK-7060] (Oracle TopLink - 10g Release 3 (10.1.3.4.0) (Build 080602)): oracle.toplink.exceptions.ValidationException Description of the Exception: could not acquire the data source [jdbc/IManageESBDataSourceGlobal]. Inner exception: javax.naming.NameNotFoundException: jdbc/IManageESBDataSourceGlobal not found.

    We have our environment as:

    We have entries in j2ee/home/config/data-sources.xml as follows,

    <? XML version = "1.0" encoding = "UTF - 8"? >
    <-sources of data xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: noNamespaceSchemaLocation = http://xmlns.oracle.c «»
    OM/OracleAS/Schema/Data-sources-10_1.xsd' schema-major-version = '10' schema-minor-version = "1" >
    < managed-data-source-pool-connection name = 'Example Connection Pool' jndi-name = "jdbc/OracleDS" name = "OracleDS" / >



    We have entries in $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml as follows,
    < location connector-factory = "ist/DB/IManageESBDataSourceGlobal" connector-name = "DbAdapter" >
    < config-property name = "xADataSourceName" value = "jdbc/IManageESBDataSourceGlobal-XA" / >
    < / connector-factory >


    Do you see not a problem with that?
    Our environment is down for more than a week because of this problem.

    Really approeciate any help in this regard.

    Thank you

    Published by: user582595 on April 27, 2009 10:39

    Also I don't have access to an advanced install and I can't remember just on top of my head. But you can load the j2ee/home/config/data-sources.xml file into j2ee/oc4j_soa/config/data-sources.xml.

    When you have tested in EM you have tested the data to the right source?

    see you soon
    James

  • Redirect to different URLS depending on the entry in the database.

    I have a login page that I want to redirect my mysql database to the user based on the value in my "Auth" category.  I'm trying to figure out how to get the login to redirect if he sees the 'HE' in the 'Auth' that he goes to indexil.php, "IA" goes to indexia.php and I also FL and NV to redirect to their corresponding pages.  Hoping someone can help me with that.  Here's the code that Dreamweaver created.

    Login page

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

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    $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 "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    ? >

    <? PHP

    Validate request to connect to this site.

    If (! isset {})

    session_start();

    }

    $loginFormAction = $_SERVER ['PHP_SELF'];

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

    $_SESSION ['PrevUrl'] = $_GET ['accesscheck"];

    }

    If (isset($_POST['username'])) {}

    $loginUsername = $_POST ['username'];

    $password = $_POST ["password"];

    $MM_fldUserAuthorization = "";

    $MM_redirectLoginSuccess = "... / Members / ';"

    $MM_redirectLoginFailed = 'login.php ';

    $MM_redirecttoReferrer = false;

    @mysql_select_db ($database_Users, $Users);

    $LoginRS__query = sprintf ("SELECT Uname, Pword OF USERS WHERE Uname = %s AND Pword = %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $Users) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    $loginStrGroup = "";

    Declare two session variables and assign them

    $_SESSION ['MM_Username"] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    If (isset($_SESSION['PrevUrl']) & & false) {}

    $MM_redirectLoginSuccess = $_SESSION ["PrevUrl"];

    }

    Header ("Location:".) $MM_redirectLoginSuccess);

    }

    else {}

    Header ("Location:".) $MM_redirectLoginFailed);

    }

    }

    ? >

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

    < html >

    < head >

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

    <? PHP include ('inc_title.php')? >

    < link href = "styles.css" rel = "stylesheet" type = "text/css" > "

    < / head >

    < body > < div id = "banner" > < / div >

    < div id = "container" >

    < div align = "center" >

    < p > < / p >

    < p > < span class = "largebold" > forms connection </span > < / p >

    < name of the form = "form1" method = "POST" action = "<?" PHP echo $loginFormAction;? > ">"

    < p > user name:

    < name of entry = "username" type = "text" id = "username" >

    < /p >

    < p > password:

    < name of entry = "password" type = "password" id = "password" >

    < /p >

    < p >

    < input type = "submit" name = "Submit" value = "Login" >

    < /p >

    < / make >

    < p >

    <!--right end-->

    < /p >

    < / div >

    < div id = 'Clear' > < / div >

    < / div > <! - container end - >

    < / body >

    < / html >

    index page

    <? PHP include ('inc_auth.php')? >

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

    < html >

    < head >

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

    <? PHP include ('inc_title.php')? >

    < link href = "styles.css" rel = "stylesheet" type = "text/css" > "

    < / head >

    < body > < div id = "banner" > < / div >

    < div id = "container" >

    < div id = "left" >

    <? PHP include ('inc_formselector.php')? >

    < / div > <! - end left - >

    <!--right end-->

    < div id = 'Clear' > < / div >

    < / div > <! - container end - >

    < / body >

    < / html >

    inc_auth page


    <? PHP

    If (! isset {})

    session_start();

    }

    $MM_authorizedUsers = "";

    $MM_donotCheckaccess = "true";

    Restrict access to Page: grant or deny access to this page

    Function isAuthorized ($strUsers, $UserGroup, $strGroups, $UserName) {}

    For safety, first assuming that the visitor is NOT allowed.

    $isValid = false;

    When a visitor is connected to this site, the MM_Username of Session variable value equal to their username.

    So, we know that a user is NOT logged if this Session variable is empty.

    If (! empty ($UserName)) {}

    In addition to being connected, you can restrict access to only certain users based on a created ID when they connect.

    Analyze the channels in the tables.

    $arrUsers = explode (",", $strUsers);

    $arrGroups = explode (",", $strGroups);

    If (in_array ($UserName, $arrUsers)) {}

    $isValid = true;

    }

    Or, you can restrict access to only certain users based on their user name.

    If (in_array ($UserGroup, $arrGroups)) {}

    $isValid = true;

    }

    If (($strUsers == "") & & true) {}

    $isValid = true;

    }

    }

    return $isValid;

    }

    $MM_restrictGoTo = 'login.php ';

    If (!) {(((isset($_SESSION['MM_Username']))) & & (isAuthorized ("", $MM_authorizedUsers, $_SESSION ['MM_Username'], {$_SESSION ['MM_UserGroup']})))}

    $MM_qsChar = ';?

    $MM_referrer = $_SERVER ['PHP_SELF'];

    If (strpos ($MM_restrictGoTo, "?")) $MM_qsChar = "&";

    If (isset ($QUERY_STRING) & & strlen ($QUERY_STRING) > 0)

    $MM_referrer. = « ? ». $QUERY_STRING;

    $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar. "accesscheck =". UrlEncode ($MM_referrer);

    Header ("Location:".) $MM_restrictGoTo);

    "exit";

    }

    ? >

    I hope this is all to help me on this.  I worked on this NCB for a few weeks now.  I can't get one of the 4 redirects to work.   Thanks in advance

    It works very well.

    What it does is to select 'Auth' from the 'users' table that corresponds to the "Username" and "Password" and assigns the name of the page (indexil.php) that must be inserted into the database field 'Auth' to a variable named $Auth

    Connect to the database server

    mysql_connect ("xxxxxxx", "xxxxx", "xxxxxxx") or die (mysql_error ());

    Select database

    @mysql_select_db ("XXXXXXXXXXX") or die (mysql_error ());

    Select the url

    $strSQL = "SELECT authentication OF USERS WHERE Uname = '$loginUsername' AND Pword ="$password "";

    $rs = mysql_query ($strSQL);

    While ($row = {mysql_fetch_array ($rs))}

    $Auth = $row ["Auth"];

    Header ("Location:".) $Auth);

  • is it possible to return a figure to the database from a web service

    I have a REST web services configuration that has 4 values

    Is it possible to use a db call to enter these 4 values that can be used in an insert in the database?

    Thank you

    Yes it is available: [url http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/t_dburi.htm#i1007928] 10.2 documentation packages and Types.

    You must copy my blog instead: my answer was typo with a T too much ;-)

    Edit: Fixed the URL

    Published by: Kim Berg Hansen on October 19, 2012 10:00

  • Error in inserting data to the database

    I use SQL to store the data when I'm insterting the data in my table and then I get the error 2147217833.

    The image that is attached to the table structure and PROCESS as I am recording insterting. I use LV2011.

    I am able to connect to the database but error by inserting

    Soved. UerId 5 and I've been insterting 6.

  • Cannot insert data into the database

    Hello world

    I stuck with a problem in DB juice. When I try to insert data into the database using DB tool, I get a repeated error message (error 1). Please find the my vifile below and solve say.

    Problem is use Labiew 8.2. So try to answer accordingly

    Try it with a cluster instead of a string or an array.

  • Please how can I insert a value of richinputtext in the database string attribute

    Please how can I insert a value of richinputtext in the database string attribute

    If you can get its value at the bean and then call your insert statement to put it in the DB table

    and if you want to know about the execution of SQL query

    then check - Ashish Awasthi (Jdev/ADF) Blog: SQL to run in an ADF Application using DataSource DBTransaction & JDBC query

    Ashish

  • Inserting a new record in the database using a form empty ADF

    Hello

    I'm trying to insert a new record into the database using a form.

    I have an Employee table and its corresponding entity object and the view object. The table has an id that is used as the primary key and is filled using a sequence in the comic book.

    Data controls, I dragged and dropped at the sight of the employee as a form of ADF and checked the submit button include. Then I dragged and dropped the validation on submit button operation.

    When I connect to the app and go to the page used to create, I have 2 problems:
    1 - the form is filled with the logged in user info.
    2. If I try to change the news and validation, the user info is changed in the database and no new record is created.

    It makes a little sense to me, but I would like to know if there is a way around it (get an empty form and insert a new record).
    NB: the employee id is not part of the form, I want to be filled using the sequence.

    Kind regards
    MB

    User, please tell us your jdev version!

    To do this, you must create a new record before going to the display of the form page. In a stubborn workflow (btf), you drag the operation createInsert of the VO on the btf and it will generate a link method, add a view to the btf and put a navigation of the binding of the method of the page. Mark the method as 'Activity by default'. Now, ren, you call the workflow, you create a new record that will show your blank form.

    Timo

  • How can I insert values textarea one both in the database?

    I have a simple form:

    Select list - populated by a recordset that gets the list of technicians.   In this format: Label - > name of Tech value - > ID Tech

    TextArea - paste zip codes in this tech services.    In this format: 12345,12346,12347, etc...

    When I want to send the form, I want to take all postal codes and insert them into the database as a single record each with the id of the tech of the selection list.

    The code I have is:

    $zipcodes = explode(",", $_POST['textarea']);
    $countZips = (count($zipcodes));
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
    foreach($zipcodes as $key=>$value)
    {
    
    
    while ($countZips >= 1) {
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    }
    
      $insertSQL = sprintf("INSERT INTO zip_zip (zip_code, tech_id) VALUES (%s, %s)",
                           GetSQLValueString($value, "int"),
                           GetSQLValueString($_POST['select'], "int"));
    
    
      mysql_select_db($database_localhost, $localhost);
      $Result1 = mysql_query($insertSQL, $localhost) or die(mysql_error());
              $countZips--;
    }
    //Done value exists
    //Now moving to next page when done
    } 
              $insertGoTo = "index.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      }
      header(sprintf("Location: %s", $insertGoTo));
    }
    //END
    

    The question is - Let's say I have paste 105 postal codes into the text box.   It inserts the FIRST postal code 105 times in the database instead of insert postal code 105 individually.

    No idea what I'm doing wrong here?

    Thank you!

    You loop does. Delete this While loop, it is not necessary, and you don't need to follow the count. The foreach loop does all the work.

  • Inserting data in several related tables using the database

    Hello world
    I'm working on a BPM application using Oracle BPM 11.1.1.5.0 and JDeveloper 11.1.1.5.0.

    In my database, I have two tables, loan and guarantee that are related by a field named employeeID (PK on loan) and FK in warranty.
    Each line can have several lines of guarantee.

    At this point, I'm doing an entry form for the user to insert data in the two tables.

    I did successfully before with a single table that has no relations.

    The way I'm doing here is, after the creation of the database successfully adapter, a type of LoanCollection is created in the types module, which can be used to create business objects and data objects of.

    The problem is when I create an object of type loanCollection process data and then create a UI generated automatically on that basis, only the fields in the primary table (the Table of loan) appear in the form.
    On the other hand, if I create a business object based on the LoanSchema, the form for all of the two tables is created automatically (the loan as a form, the guarantee in a table), but then, when I try to access it in the section processing service mission which calls the database adapter, I have no access to such.
    In fact, the only type which can be used in the service task is the process based on the loanCollection data object.

    To summorize, I have to use the type of business for my UI object to include all the fields in both tables, so I have to use the data object from the collection process in the transformation of service task dialog box.
    And I can't find a way to map to another.

    Can someone help me with this please?
    Thank you very much

    Try to follow these steps.

    1. create a new module in your catalogue our BPM project management section
    2. in this new module create 3 Business Objects - (LoanBusinessObject, GuaranteeBusinessObject and GuaranteeArrayBusinessObject)
    3. Add the attributes appropriate to the LoanBusinessObject and the GuaranteeBusinessObject so that they mimic your database tables, then to the GuaranteeArrayBusinessObject add an array of type attribute GuraranteeBusinessObject
    4. now you need to create two process data objects, type loanProcessObject LoanBusinessObject and type guaranteesProcessObject GuaranteeArrayBusinessObject
    5. as inputs to your human task adds the loanProcessObject and guaranteesProcessObject, these should now be available in your data controls and can be used to auto generate the form
    6. in your dbadapter you'll then use XSL Transformation and use for each so that it will write the data to the ready table and all the line items of warranty for the warranty table.

  • AS2 - problem with inserting of partition/name of the database/mysql

    Hello

    First of all... Sorry that I havn't put the ACE in a box, do not know how to do it on this forum!

    Okay, so here's my problem:

    I want to submit my score and the name in my database.

    This is the script I've tried Flash.

    Stop();

    create objects loadVars

    playerx = new LoadVars();

    playerRegistered = new LoadVars();

    playerRegistered.onLoad = showResult;

    create the button handler code to call the function that sends & load php

    _root.submitt.onRelease = submitScore;

    function submitScore (): Void {}

    playerx. Name = name_txt.text;

    playerx.score = score_txt.text;

    playerx.sendAndLoad ("register.php", playerRegistered);

    }

    This is the PHP script:

    <? PHP

    $connect = mysql_connect('x.com.mysql','x','password');

    @mysql_select_db ('x', $connect);

    $sql = "INSERT INTO high_scores_avoidthecars (name, score) VALUES ("'. ")" $_POST ['name']. '"," '. $_POST ['score'].'") ';"

    ? >

    Nothing is posted to the database, no errors etc... any ideas?

    If you went thru the link I provided you should see where you need to change the code that you did to get the Flash to work code.  Here is a link to an example of work that takes into account the second part of the code in this link that involves sending data (from line 28) with your textfields, etc.

    http://www.nedwebs.com/Flash/register.html

    The main problem with your AS2 code involves the following line...

    playerx.sendAndLoad ("register.php");

    It should be...

    playerx.sendAndLoad ("register.php", playerx. 'POST');

    Here's the code I used for the example files, I did...

    AS2 CODE

    playerx = new LoadVars();

    _root.submitt.onRelease = submitScore;

    function submitScore (): Void {}

    Response.Text = "clicked\n";

    playerx. Name = name_txt.text;

    playerx.score = score_txt.text;

    playerx.sendAndLoad ("register.php", playerx, "POST");

    }

    playerx.onLoad = onLoadCallBack;

    function onLoadCallBack (success)
    {
    Response.Text += "onLoad Processed\n";

    {if (success)}
    Response.Text += "Success\n;
    Response.Text += this.lVar1 + "\n";
    Response.Text += this.lVar2;
    } else {}
    Response.Text = "load error".
    }
    }

    PHP CODE

    <>
    read the variables
    $var1 = $_POST ['name'];
    $var2 = $_POST ['mark'];

    Send variables
    echo "& lVar1 = $var1 return &";.
    echo "& lVar2 = $var2 returned as well &";.
    ?>

Maybe you are looking for