saving an image of the form into the database

I used this procedure to recover an image on my forms...
PROCEDURE get_image IS
/* Define the local variables*/
l_filename VARCHAR2(60);
l_type VARCHAR2(10);
l_item_name VARCHAR2(60);
l_path VARCHAR2 (60);
BEGIN
/* Assign the values of the fields to the variables*/
l_filename := :PICS.file_image;
l_type := :PICS.type;
l_path := :PICS.file_path;
/* Assign the variable of the item where the picture will be put in the form*/
l_item_name := 'PICS.pic1';
/* Define the filename as the path, actual name of the file and the type of file,
but concatenating the various
elements from the variables*/
l_filename:= l_path||l_filename||'.'||l_type;
/*Use the build in procedure READ_IMAGE_FILE to retrieve the image from
the file*/
READ_IMAGE_FILE(l_filename,l_type,l_item_name);
EXCEPTION
WHEN VALUE_ERROR THEN
message('Value Error');
WHEN OTHERS THEN
message('Other error');
END;
and I traced the columns for the image and the name of the image in the form...
but when I click on the button Save... nothing happens... the images does not save in the database

Why not use a BLOB column for storing the image?

François

Tags: Oracle Development

Similar Questions

  • Store Images in the database VS on the desktop

    Hi, I'm using oracle developer 6i,

    my main form contains about 50 images, no process are on these images, just to open another form.

    is it better to store images in the database or on the desktop?

    s ' Please tell me which is better "in general" and in my case.

    Thank you very much

    Storage in the database is more secure then file system.

    But you are about to click on image.

    This is why, in your case, file system is the best according to my experiences.

    Hope this helps

    Hamid

  • Tiara (image) to the database file

    Hi all

    Recently, we found a problem with our application. Instead export the report to a network drive images, we save it in a database.

    So far, we have saved on a network without any problems. We are able to access our database and insert some text values in the application, but now we need to save files (images). This is where things are more complicated. Tiara features a textStream object, but not an inputstream that allows to read a byte array...

    Then, someone had a problem like this and found a solution? I found a few samples of something similar on the site of NOR, but they are all for labview...

    Any help is greatly appreciated,

    Tomas

    Void Base64StringToFile (ByRef, ByVal fullFilePath vCode)

    If FileExist (fullFilePath) then
    FileDelete (fullFilePath)
    end if

    Dim OXML: Set oXML = CreateObject ("Msxml2.DOMDocument.3.0")
    protected oNode: Set oNode = oXML.CreateElement ("base64")
    oNode.dataType = "bin.base64".
    oNode.text = vCode

    Dim BinaryStream: Set BinaryStream = CreateObject ("ADODB. Stream")
    BinaryStream.Type = 1
    BinaryStream.Open
    BinaryStream.Write oNode.nodeTypedValue
    BinaryStream.SaveToFile fullFilePath

    Set BinaryStream = Nothing
    Set oNode = Nothing
    Set oXML = Nothing
    End Sub

    Sub Base64FileToString (ByVal fullFilePath, ByRef vCode)

    Dim BinaryStream: Set BinaryStream = CreateObject ("ADODB. Stream")
    BinaryStream.Type = 1
    BinaryStream.Open
    BinaryStream.LoadFromFile (fullFilePath)

    Dim OXML: Set oXML = CreateObject ("Msxml2.DOMDocument.3.0")
    protected oNode: Set oNode = oXML.CreateElement ("base64")
    oNode.dataType = "bin.base64".
    oNode.nodeTypedValue = BinaryStream.Read)
    vCode oNode.text =

    End Sub

    I've used these two methods to read binary files and put it in the base64 string. Maybe it helps.

  • Images in the database or folder

    I want to make my dynamic photo gallery, for example, I want to download all the images and the details of the request, rather than self editing xml file.
    I use php for it

    As the text is concerned, Im OK with it
    But when it comes to images, I get confused.

    Please put some light on this question of the image.
    can I download and store in the mysql database directly or application will move the file to a specific folder and save its path in the database?

    Thanks in advance

    The most commonly used method is to store the photos in folders and let the db collect just the absolute path.

  • How to display an image from the file in the database

    I want to be able to display an image from the file that I have stored in a database. In the database, the image is store as a file with numbers. When I go to display only the sign of an image appears. I want to be able to display the image not the symbol for numbers of the image or file. I know I'm close I just can't understand what I'm messing, to get the image to display.

    Here is the code:

    <? PHP require Connections/Connections.php"?" >

    <? PHP

    session_start();

    {if (isset($_SESSION["fname"]))}

    }

    else {}

    Header('Location:NewRequest.php');

    }

    ? >

    <? PHP

    $User = $_SESSION ['Pnom"];

    $result = $con-> query ("SELECT ALL * from newrequest where Fname ="$User"" ");

    ? >

    <! doctype html >

    < html >

    < head >

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

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

    < meta charset = 'utf-8 '.

    ReviewRequest < title > < / title >

    < / head >

    < body >

    < div class = "Container" >

    < div class = "Header" > < / div >

    < div class = "Menu" >

    < div id = 'Menu' >

    < nav >

    < ul class = "cssmenu" >

    < li > < a href = "Account.php" > account < /a > < /li > ""

    < li > < a href = "UpdateAccount.php" > update account < /a > < /li > ""

    < li > < a href = "NewRequest.php" > new request < /a > < /li > ""

    < li > < a href = "ReviewRequest.php" > Review Request < /a > < /li > ""

    < li > < a href = "LogOut.php" > sign out < /a > < /li > ""

    < /ul >

    < / nav >

    < / div >

    < / div >

    < div class = "LeftBody" > < / div >

    < div class = "RightBody" >

    < name of the form = "form1" method = "post" action = "" >

    < table border = "1" >

    < b >

    < td = '26' height > name < table >

    Location < td > < table >

    Description < td > < table >

    Image of < td > < table >

    < Td > status < table >

    < /tr >

    <? PHP while ($row = $result-> fetch_assoc()) {? >}

    < b >

    < class td = "GFied" > <? PHP echo $row ["Fname"];? > < table >

    < class td = "GFied" > <? PHP echo $row ['Location'];? > < table >

    < class td = "GFied" > <? PHP echo $row ['Description'];? > < table >

    < class td = "GFied" > < img src = "<?" PHP echo $row ["numero_imagenom_image"];? > "alt =" "> < table >"

    < class td = "GFied" > <? PHP echo $row ['Status'];? > < table >

    <? PHP}? >

    < /tr >

    < /table >

    < / make >

    < / div >

    < div class = "Footer" > < / div >

    < / div >

    < / body >

    < / html >

    This is what it looks like when it displays:

    Capture3.PNG

    How can I actually picture to display?

    emrenilo32520834 wrote:

    I added the .jpg but the image still does not display, the images are saved in a jpg file.

    If the images in the database to follow this format - 1234567.jpg, 9897654.jpg

    Then your original code must have worked:

    Are the images in their own folder, if so you need to add this folder for code name:

  • Images in the possible item checkbox?

    Hi all

    Is it possible to include images instead of text as display checkbox value? I've tried everything I know and look elsewhere, but were unable to see how.

    If anyone knows how this is possible out of the box or changing something somewhere, I'll be grateful.

    What I'm trying to do, it is essentially a list of images from the database and let the user choose which ones he wants to use. Move this list to a package of data base for treatment when the page is submitted (in it value in the form of ie 12:234:212:1)

    Thank you for the ind.

    Kind regards
    Juan P.

    Hello

    Edit your box and change no. escape special characters

    Kind regards
    Jari

    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Adding images to the repeat region

    Hey guys, I recently started using the features of dreamweaver PHP with MySQL and I have my display of table data in a repeat region. I downloaded images to the database, but if I drag 'image' of the Recordset into the repeat region I just get a lot of binary. I read I should maybe use image URL rather than the traction of the database of images, but I don't understand how to get the images in sequence. How do I know what order to display if they are not in the recordset in PHP?  I wonder if I missed some feature of DW, as I suppose it is quite a common thing to want images in a repeat region. Any advice would be great. Thank you

    > I read maybe I should use the URL of the image

    > rather than pulling images from the database

    Fix. Storage of binary files in the database leads to performance problems.

    > but I do not understand how to get the images in sequence. How would

    > PHP know what order to display if they are not in the Recordset?

    The images are stored in the file system. The path to the image is stored in the database. The fields in the recordset with the path of the image - in order to generate the html code that displays the image in the Recordset loop.

  • image uploaded to the database link

    Hello

    I downloaded the images in my server so now I want to show on different pages using php and mysql, so can someone tell me how I can do this in dreamweaver php codes or manual?

    Please begin your answer of the way to start step I have to do after the download of the image, I also know a database table also be require for images should this complete tutorial please. Therefore, please answer thank you.

    tanveerh86603130 wrote:

    I mean if I have uploaed images manually on the server and now when I create a new page in php with the mysql database and want to inlucde one of these uploaded image dynamcally, so how I can do, how can I create table for these images and then use this table for u place links to this image?

    If youre doing this manually - you should now have all your images in a folder on your server.

    To get dynamically on a page, you must include the name of the image in the database table.

    Create another field in your database table called - model_image

    Then insert the name of the image in this area, associated with the mobile _name - nokia_1100.jpg, samsung_2300.jpg etc.

    Back in your page model_details.php use a query as I pointed out in the other thread:

    $model_details = mysql_query ("" SELECT * FROM mobile_phones WHERE model_id = ' $model_id ' ' ") or die (mysql_error ());

    $model_details = mysql_fetch_array ($model_details);

    Then echo the image of the page according to the model_id adopted in the link to the model_details.php page. (replace "folder_name' by the name of the folder in which images are stored)

    as well as its other fields:

    All this can be done through server Dreamweavers behaviors if you do want to write your own code. Don't forget the code that Dreamweaver now uses dynamic development is outdated.

  • display of the image in the report of BLOB

    Hi all

    I have a requirement i.e.

    I want to display the image in a basic report to condition

    as if id = 1 then babou picture, id = 2 then second picture and id = 3 then third image

    I have the image in the database by type of BOLB

    I need to view in the report of this condition

    Please help me this requirement is urgent



    Reg,
    Jell

    It's not clear to me exaclty what you mean by

    >
    as if id = 1 then babou picture, id = 2 then second picture and id = 3 then third image
    >

    ID the ID of the image field is? Then you have not nead a condition in your report. But here's how show you it with a condition:

    
    
    
    
    
    
  • organize images in the form of grid

    Hello

    How to organize images in the form of grid as a form of the matrix 2 x 2.

    any solution please.

    Kind regards

    Hari

    Thinnker,

    I'm not sure I understand what you're trying to do, but I have modified what I could from your code to make it work without changing the structure so that it become unrecognizable to you.

    I've replaced your IMAQ control with control of 2D image, because I have not installed IMAQ. This VI works as expected and load your file of jpg files in the table of the photo.

    If you work with IMAQ, note that your images will be loaded all into the same reference IMAQ because you create only one (called untitled), so with each image you load, you override the earlier. You must move the IMAQ Create function in the loop For and generate a new reference for each image you want to load (each requires a unique string for its name).

  • Loading the Images from the Internet into my BB APP...

    Hello, I need help on loading images from the internet into my BB application (not in the web browser)

    then a few buttons next and prev images I have saved in a table addresses do not know how to load and display them in my application any idea any example of code...?

    Thnx in advance

    This should give you some hints:

    http://www.coderholic.com/BlackBerry-webbitmapfield/

    most important: do not the networks on the thread of the event.

  • Unable to see the Image in the form

    Hello

    I m using a file browser to load an image into my form and a single display field to display the image in the same form.

    For this that I m using the code and the following parameters:

    Database field:

    Identification:

    Name: P174_FILE_ATTACHED

    Display as: file browser

    Parameters:

    Storage type: BLOB column specified in the source item attribute.

    Mimetype column: MIMETYPE

    Column of FILE name: FILENAME

    Source:

    Source: always, to replace an existing value in session state.

    Source type: column database

    Source of value or an Expression: FILE_ATTACHED


    Display area:

    Identification:

    Name: P174_IMAGE

    : View only


    Source: only the current value in Session State is null

    Source type: PL/SQL function body

    Source of value or Expression:

    "return ' < img src =" "|" apex_util.get_blob_file_src('P174_FILE_ATTACHED',:P174_ID) | " » / >" ;

    Instead of the image, I m get the following

    < img src = "" apex_util.get_blob_file? a = 118 & s = 299031213118 & p = 174 & d = 60258825148373475 & i = 60258406128373475 & p_pk1 = 1 & p_pk2 = & p_ck = 302A5DA5980F3504E6289B70F78E6BA3 "/ >"

    Any help in this regard.

    Concerning

    consult the partners On the Types of items

    also complete information on Page point correctly read related help...

  • 1 form, 2 actions to do: check the captcha and put data into the database

    Hello

    I am trying to create a registration page that puts the data entered by the user in a database. That part works: there is a connection to the database and the information is placed in the database correctly. To avoid spam, I would add captcha on the form. I've been looking at the possibilities of reCaptcha, and the result is the following: the image appears correctly and the image is renewed when you click on the link. But the problem is that this captcha can be controlled without adding "verify.php" action to the form. How can I, in Dreamweaver, add a second action to the form? In other words, what code should I replace the part "$editFormAction"? Or I think entirely in a bad way? This is the first time I use Dreamweaver, I also never worked with php before.

    Here is the code I have now (I'm sorry guys but I'm Dutch ):

    <?php require_once('Connections/Klantenlijst.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;
    }
    }
    // *** Redirect if username exists
    $MM_flag="MM_insert";
    if (isset($_POST[$MM_flag])) {
      $MM_dupKeyRedirect="www.sint-jorishoeve.be";
      $loginUsername = $_POST['gebruikersnaam'];
      $LoginRS__query = sprintf("SELECT Gebruikersnaam FROM klantenlijst WHERE Gebruikersnaam=%s", GetSQLValueString($loginUsername, "text"));
      mysql_select_db($database_Klantenlijst, $Klantenlijst);
      $LoginRS=mysql_query($LoginRS__query, $Klantenlijst) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      //if there is a row in the database, the username was found - can not add the requested username
      if($loginFoundUser){
        $MM_qsChar = "?";
        //append the username to the redirect page
        if (substr_count($MM_dupKeyRedirect,"?") >=1) $MM_qsChar = "&";
        $MM_dupKeyRedirect = $MM_dupKeyRedirect . $MM_qsChar ."requsername=".$loginUsername;
        header ("Location: $MM_dupKeyRedirect");
        exit;
      }
    }
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    }
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "registreren")) {
      $insertSQL = sprintf("INSERT INTO klantenlijst (`Voornaam ruiter`, `Familienaam ruiter`, `Geboortedatum dag`, `Geboortedatum maand`, `Geboortedatum jaar`, `E-mailadres 1`, `Telefoon 1`, Gebruikersnaam, Paswoord) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['voornaam_ruiter'], "text"),
                           GetSQLValueString($_POST['voornaam_ruiter'], "text"),
                           GetSQLValueString($_POST['geboortedatum_ddag'], "int"),
                           GetSQLValueString($_POST['geboortedatum_maand'], "text"),
                           GetSQLValueString($_POST['geboortedatum_jaar'], "int"),
                           GetSQLValueString($_POST['e-mailadres_1'], "text"),
                           GetSQLValueString($_POST['telefoon'], "int"),
                           GetSQLValueString($_POST['gebruikersnaam'], "text"),
                           GetSQLValueString($_POST['paswoord'], "text"));
      mysql_select_db($database_Klantenlijst, $Klantenlijst);
      $Result1 = mysql_query($insertSQL, $Klantenlijst) or die(mysql_error());
      $insertGoTo = "aanmelden.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      }
      header(sprintf("Location: %s", $insertGoTo));
    }
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "registratie")) {
      $insertSQL = sprintf("INSERT INTO klantenlijst (`Voornaam ruiter`, `Familienaam ruiter`, `Geboortedatum dag`, `Geboortedatum maand`, `Geboortedatum jaar`, `Opmerkingen / Medisch`, `Voornaam contactpersoon 1`, `Familienaam contactpersoon 1`, `Contactpersoon 1 is`, `Voornaam contactpersoon 2`, `Familienaam contactpersoon 2`, `Contactpersoon 2 is`, `E-mailadres 1`, `E-mailadres 2`, `Telefoon 1`, `Telefoon 2`, `Telefoon 3`, Opmerkingen, Gebruikersnaam, Paswoord) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['voornaam_ruiter'], "text"),
                           GetSQLValueString($_POST['familienaam_ruiter'], "text"),
                           GetSQLValueString($_POST['geboortedatum_dag'], "int"),
                           GetSQLValueString($_POST['geboortedatum_maand'], "text"),
                           GetSQLValueString($_POST['geboortedatum_jaar'], "date"),
                           GetSQLValueString($_POST['opmerkingen_ruiter'], "text"),
                           GetSQLValueString($_POST['voornaam_contactpersoon_1'], "text"),
                           GetSQLValueString($_POST['familienaam_contactpersoon_1'], "text"),
                           GetSQLValueString($_POST['contactpersoon_1_is'], "text"),
                           GetSQLValueString($_POST['voornaam_contactpersoon_2'], "text"),
                           GetSQLValueString($_POST['familienaam_contactpersoon_2'], "text"),
                           GetSQLValueString($_POST['contactpersoon_2_is'], "text"),
                           GetSQLValueString($_POST['emailadres_1'], "text"),
                           GetSQLValueString($_POST['emailadres_2'], "text"),
                           GetSQLValueString($_POST['telefoon_1'], "int"),
                           GetSQLValueString($_POST['telefoon_2'], "int"),
                           GetSQLValueString($_POST['telefoon_3'], "int"),
                           GetSQLValueString($_POST['opmerkingen_contactpersoon'], "text"),
                           GetSQLValueString($_POST['gebruikersnaam'], "text"),
                           GetSQLValueString($_POST['paswoord'], "text"));
      mysql_select_db($database_Klantenlijst, $Klantenlijst);
      $Result1 = mysql_query($insertSQL, $Klantenlijst) or die(mysql_error());
      $insertGoTo = "http://www.sint-jorishoeve.be";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      }
      header(sprintf("Location: %s", $insertGoTo));
    }
    mysql_select_db($database_Klantenlijst, $Klantenlijst);
    $query_Contactenlijst = "SELECT * FROM klantenlijst";
    $Contactenlijst = mysql_query($query_Contactenlijst, $Klantenlijst) or die(mysql_error());
    $row_Contactenlijst = mysql_fetch_assoc($Contactenlijst);
    $totalRows_Contactenlijst = mysql_num_rows($Contactenlijst);
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Manege Sint-Jorishoeve</title>
    <style type="text/css">
    <!--
    body,td,th {
     font-family: Verdana, Geneva, sans-serif;
     font-size: 10px;
     color: #300;
     font-weight: bold;
    }
    body {
     background-color: #FF9;
     font-family: Verdana, Geneva, sans-serif;
     font-size: 12px;
     font-style: normal;
     line-height: normal;
     font-weight: normal;
     font-variant: normal;
     text-transform: none;
     color: #300;
    }
    a {
     font-family: Verdana, Geneva, sans-serif;
     font-size: 12px;
     color: #F90;
    }
    a:visited {
     color: #F90;
    }
    a:hover {
     color: #F90;
    }
    a:active {
     color: #F90;
    }
    h1,h2,h3,h4,h5,h6 {
     font-family: Verdana, Geneva, sans-serif;
    }
    h1 {
     font-size: 14px;
     color: #300;
    }
    -->
    </style>
    <script src="SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationCheckbox.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryEffects.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationPassword.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryValidationCheckbox.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css">
    <script type="text/javascript">
    <!--
    function MM_effectHighlight(targetElement, duration, startColor, endColor, restoreColor, toggle)
    {
     Spry.Effect.DoHighlight(targetElement, {duration: duration, from: startColor, to: endColor, restoreColor: restoreColor, toggle: toggle});
    }
    function MM_showHideLayers() { //v9.0
      var i,p,v,obj,args=MM_showHideLayers.arguments;
      for (i=0; i<(args.length-2); i+=3) 
      with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
        if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
        obj.visibility=v; }
    }
    //-->
    </script>
    <link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <h1>Registreren</h1>
    <p><em>Let op: Dit is een registratie voor een volledig nieuwe account met nieuwe gebruikersnaam en paswoord.</em><em></em></p>
    <p><em>Indien u een persoon aan uw account wilt toevoegen (met dezelfde gebruikersnaam), doe dit via 'Mijn gegevens'.</em> </p>
    <p> </p>
    <script type="text/javascript">
    var RecaptchaOptions = {
     lang : 'nl',       
     theme : 'custom',
     custom_theme_widget: 'recaptcha_widget'
     };
        </script>
    <form action="<?php echo $editFormAction; ?>" method="POST" enctype="application/x-www-form-urlencoded" name="registratie" id="registratie" onSubmit="MM_showHideLayers('registratie','','hide')">
      <p><strong>GEGEVENS VAN DE TE REGISTREREN PERSOON</strong></p>
      <p>Voornaam*:
        <span id="sprytextfield9">
        <label>
          <input name="voornaam_ruiter" type="text" id="voornaam_ruiter" size="25" maxlength="50">
        </label>
      <span class="textfieldRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="textfieldMaxCharsMsg">Hier kan u max. 50 karakters invullen!</span><span class="textfieldMinCharsMsg">Dit veld is verplicht in te vullen!</span></span> </p>
      <p>Familienaam*: <span id="sprytextfield10">
        <label>
          <input name="familienaam_ruiter" type="text" id="familienaam_ruiter" size="25" maxlength="50">
        </label>
        <span class="textfieldMaxCharsMsg">Hier kan u max. 50 karakters invullen!</span></span> </p>
      <p>Geboortedatum*: 
        <span id="sprytextfield11">
        <label>
          <input name="geboortedatum_dag" type="text" id="geboortedatum_dag" value="00" size="4" maxlength="2">
        </label>
        <span class="textfieldInvalidFormatMsg">Gebruik het aangegeven formaat aub.!</span><span class="textfieldMinCharsMsg">Gebruik het aangegeven formaat!</span><span class="textfieldMaxCharsMsg">Dit is geen geldige dag van de maand!</span><span class="textfieldMinValueMsg">Dit is geen geldige dag van de maand!</span><span class="textfieldMaxValueMsg">Dit is geen geldige dag van de maand!</span></span><span id="spryselect2">
        <label>
          <select name="geboortedatum_maand" id="geboortedatum_maand">
            <option selected> </option>
            <option value="Januari">Januari</option>
            <option value="Februari">Februari</option>
            <option value="Maart">Maart</option>
            <option value="April">April</option>
            <option value="Mei">Mei</option>
            <option value="Juni">Juni</option>
            <option value="Juli">Juli</option>
            <option value="Augustus">Augustus</option>
            <option value="September">September</option>
            <option value="Oktober">Oktober</option>
            <option value="November">November</option>
            <option value="December">December</option>
          </select>
        </label>
    <span class="selectRequiredMsg">Dit veld is verplicht in te vullen!</span></span><span id="sprytextfield12">
    <label>
      <input name="geboortedatum_jaar" type="text" id="geboortedatum_jaar" value="0000" size="8" maxlength="4">
    </label>
    <span class="textfieldRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="textfieldInvalidFormatMsg">Dit is geen geldig geboortejaar!</span><span class="textfieldMinCharsMsg">Gebruik het aangegeven formaat aub.!</span><span class="textfieldMaxCharsMsg">Dit is geen geldig geboortejaar!</span><span class="textfieldMinValueMsg">Dit is geen geldig geboortejaar!</span><span class="textfieldMaxValueMsg">Dit is geen geldig geboortejaar!</span></span></p>
      <p><span id="sprytextfield13">
        <label>Opmerkingen / Medisch te weten:<span class="textfieldMaxCharsMsg">Hier mag u max. 100 karakters invullen!</span></label>
    </span>
        <input name="opmerkingen_ruiter" type="text" id="opmerkingen_ruiter" size="50" maxlength="100">
      </p>
      <p> </p>
      <p><strong>GEGEVENS VAN DE CONTACTPERSOON</strong></p>
      <p>Is de contactpersoon de te registreren persoon zelf *?
        <span id="spryselect4">
        <label>
          <select name="ja_nee" id="ja_nee">
            <option selected> </option>
            <option value="Ja">Ja</option>
            <option value="Nee">Nee</option>
          </select>
        </label>
      <span class="selectRequiredMsg">Dit veld is verplicht in te vullen!</span></span> </p>
      <p><em>Indien nee, specifiëer wie de contactpersoon is / contactpersonen zijn:</em></p>
      <p><strong>Contactpersoon 1: </strong></p>
      <p><em>Voornaam:     <span id="sprytextfield16">
        <input name="voornaam_contactpersoon_1" type="text" id="voornaam_contactpersoon_1" size="25" maxlength="50">
        <span class="textfieldMinCharsMsg">Dit is geen geldige voornaam!</span><span class="textfieldMaxCharsMsg">Hier mag u max. 50 karakters invullen!</span></span><span>
        <label><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></label>
        </span> </em></p>
      <p><em>Familienaam: <span id="sprytextfield15">
        <label>
          <input type="text" name="familienaam_contactpersoon_1" id="familienaam_contactpersoon_1">
        </label>
      <span class="textfieldMinCharsMsg">Dit is geen geldige familienaam!</span><span class="textfieldMaxCharsMsg">Hier mag u max. 50 karakters invullen!</span></span> </em></p>
      <p><em>Contactpersoon 1 is:
          <span id="spryselect3">
          <label>
            <select name="contactpersoon_1_is" id="contactpersoon_1_is">
              <option selected> </option>
              <option value="Ouder">Ouder</option>
              <option value="Andere familie">Andere familie</option>
              <option value="Geen familie">Geen familie</option>
            </select>
          </label>
    </span> </em></p>
      <p><strong>Contactpersoon 2:</strong></p>
      <p><em>Voornaam: <span id="sprytextfield7">
        <label>
          <input name="voornaam_contactpersoon_2" type="text" id="voornaam_contactpersoon_2" size="25" maxlength="50">
          <span class="textfieldMinCharsMsg">Dit is geen geldige voornaam!</span><span class="textfieldMaxCharsMsg">Hier mag u max. 50 karakters invullen!</span></label>
    </span> </em></p>
      <p><em>Familienaam: <span id="sprytextfield8">
        <label>
          <input name="familienaam_contactpersoon_2" type="text" id="familienaam_contactpersoon_2" size="25" maxlength="50">
          <span class="textfieldMinCharsMsg">Dit is geen geldige familienaam!</span><span class="textfieldMaxCharsMsg">Hier mag u max. 50 karakters invullen!</span></label>
    </span> </em></p>
      <p><em>Contactpersoon 2 is:
    <span id="spryselect1">
        <label></label>
        </span><span id="spryselect5">
        <select name="contactpersoon_2_is" id="contactpersoon_2_is">
          <option selected> </option>
          <option value="Ouder">Ouder</option>
          <option value="Andere familie">Andere familie</option>
          <option value="Geen familie">Geen familie</option>
        </select>
    </span><span>  <span class="selectRequiredMsg">Please select an item.</span></span> </em></p>
      <p> </p>
      <p>E-mailadres 1 *:
        <span id="sprytextfield6">
        <label>
          <input name="emailadres_1" type="text" id="emailadres_1" size="25" maxlength="50">
          <strong><em>      Kijk dit aub. na op typfouten!
        </em></strong></label>
        <em><strong><span class="textfieldInvalidFormatMsg">Dit is geen geldig e-mailadres!</span><span class="textfieldRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="textfieldMinCharsMsg">Dit is geen geldig e-mailadres!</span><span class="textfieldMaxCharsMsg">Hier mag u max. 50 karakters invullen!</span></strong></em></span></p>
      <p>E-mailadres 2: 
        <span id="sprytextfield5">
        <label>
          <input type="text" name="emailadres_2" id="emailadres_2">
        </label>
      <span class="textfieldInvalidFormatMsg">Dit is geen geldig e-mailadres!</span><span class="textfieldMinCharsMsg">Dit is geen geldig e-mailadres!</span><span class="textfieldMaxCharsMsg">Hier mag u max. 50 karakters invullen!</span></span> </p>
      <p>Telefoon / GSM 1 *: 
        <span id="sprytextfield4">
        <label>
          <input name="telefoon_1" type="text" id="telefoon_1" size="20" maxlength="10">
        <em><strong>Kijk dit aub.   na op typfouten!</strong></em> </label>
        <span class="textfieldRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="textfieldInvalidFormatMsg">Typ het telefoonnummer zonder streepjes of spaties in!</span><span class="textfieldMinValueMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMaxValueMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMinCharsMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMaxCharsMsg">Typ het telefoonnummer zonder streepjes of spaties!</span></span></p>
      <p>Telefoon / GSM 2: 
        <span id="sprytextfield17">
        <label>
          <input name="telefoon_2" type="text" id="telefoon_2" size="20" maxlength="10">
        </label>
      <span class="textfieldInvalidFormatMsg">Typ het telefoonnummer zonder streepjes of spaties!</span><span class="textfieldMinValueMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMaxValueMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMaxCharsMsg">Typ het telefoonnummer zonder streepjes of spaties!</span><span class="textfieldMinCharsMsg">Dit is geen geldig telefoonnummer!</span></span> </p>
      <p>Telefoon / GSM 3: 
        <span id="sprytextfield3">
        <label>
          <input name="telefoon_3" type="text" id="telefoon_3" size="20" maxlength="10">
        </label>
      <span class="textfieldInvalidFormatMsg">Typ het telefoonnummer zonder streepjes of spaties!</span><span class="textfieldMinValueMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMaxValueMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMinCharsMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMaxCharsMsg">Typ het telefoonnummer zonder streepjes of spaties!</span></span> </p>
      <p>Opmerkingen ivm. contactpersoon: 
        <span id="sprytextfield2">
        <label>
          <input name="opmerkingen_contactpersoon" type="text" id="opmerkingen_contactpersoon" size="50" maxlength="100">
        </label>
        </span> </p>
      <p> </p>
      <p><strong>ACCOUNTGEGEVENS</strong></p>
      <p>Kies een gebruikersnaam *: 
        <span id="sprytextfield1">
        <label>
          <input name="gebruikersnaam" type="text" id="gebruikersnaam" size="25" maxlength="50">
        <em><strong>Kijk aub.  na op typfouten!</strong></em> </label>
        </span></p>
      <p><em>De gebruikersnaam moet tussen 6 en 50 karakters lang zijn en mag zowel letters als cijfers omvatten. </em></p>
      <p><em>Tip: gebruik uw e-mailadres als gebruikersnaam. Let op: de gebruikersnaam is hoofdlettergevoelig!</em></p>
      <p>Kies een paswoord *: 
        <span id="sprypassword2">
        <label>
          <input name="paswoord" type="password" id="paswoord" size="20" maxlength="15">
        </label>
      <span class="passwordRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="passwordMinCharsMsg">Het paswoord moet min. 6 karakters lang zijn!</span><span class="passwordMaxCharsMsg">Het paswoord mag max. 15 karakters lang zijn!</span><span class="passwordInvalidStrengthMsg">Het paswoord voldoet niet aan de voorwaarden!</span></span> </p>
      <p>Typ het paswoord opnieuw ter verificatie *: <span id="spryconfirm1">
        <label>
          <input type="password" name="paswoord_verificatie" id="paswoord_verificatie">
        </label>
      <span class="confirmRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="confirmInvalidMsg">De paswoorden komen niet overeen!</span></span></p>
      <p><em>Het paswoord moet tussen 6 en 15 karakters lang zijn, moet zowel letters als cijfers bevatten en mag geen</em></p>
      <p><em>speciale tekens bevatten. </em><em>Let op: het paswoord is hoofdlettergevoelig!</em></p>
      <p><em>Tip: schrijf het paswoord ergens op alvorens </em><em>het formulier te verzenden zodat u het niet vergeet. </em></p>
      <p> </p>
      <p>
        <span id="sprycheckbox1">
        <label>
          <input name="akkoord_privacy" type="checkbox" id="akkoord_privacy" value="akkoord">
        </label>
      <span class="checkboxRequiredMsg">Verplicht aan te vinken!.</span></span> Ik bevestig dat zowel de te registreren persoon als de contactpersoon het <a href="http://www.sint-jorishoeve.be/privacy.htm" target="_blank">Privacy Statement</a> gelezen </p>
      <p>hebben en hiermee akkoord gaan. </p>
      <p>
        <?php 
      require_once('recaptchalib.php'); 
      $publickey = "6Lce_ckSAAAAAAGhklRAs1KsXJ7-YxZAaoTldLyQ"; // you got this from the signup page 
      echo recaptcha_get_html($publickey);
      ?>
      <div id="recaptcha_widget" style="display:none">
       <div id="recaptcha_image"></div>
        <div class="recaptcha_only_if_incorrect_sol" style="color:red">Woorden komen niet overeen. Probeer opnieuw.</div>
        <span class="recaptcha_only_if_image">Typ de woorden in de afbeelding over *:</span>
        <span class="recaptcha_only_if_audio">Typ cijfers die u hoort:</span>
        <input type="text" id="recaptcha_response_field" name="recaptcha_response_field" /><div>
        <a href="javascript:Recaptcha.reload()">Ik kan de woorden niet lezen, vernieuw de afbeelding.</a></div>
      </div>
      <script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=6Lce_ckSAAAAAAGhklRAs1KsXJ7-YxZAaoTldLyQ">
      </script>
      <noscript>
      <iframe src="http://www.google.com/recaptcha/api/noscript?k=6Lce_ckSAAAAAAGhklRAs1KsXJ7-YxZAaoTldLyQ" height="300" width="500" frameborder="0">
      </iframe>
      <span id="sprytextarea2">
      <textarea name="recaptcha_challenge_field" cols="40" rows="3" id="recaptcha_challenge_field"></textarea>
      <em><strong>Kijk  aub. na op typfouten!</strong></em> <span class="textareaRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="textareaMinCharsMsg">Dit veld is verplicht in te vullen!</span></span>
      <input type="hidden" name="recaptcha_response_field" value="manual_challenge">
      </noscript>
       </p>
      <p><em>Tip: Gebruik de link 'Vernieuwen' indien u de woorden niet kunt lezen.</em></p>
      <p> </p>
      <p>
        <label>
          <input name="registreren" type="submit" id="registreren" onFocus="Highlight" onBlur="Highlight" onClick="MM_effectHighlight('registreren', 1000, '#F0F0F0', '#FFCC33', '#FFCC00', true)" value="Registreren">
        </label>
      </p>
      <input type="hidden" name="MM_insert" value="registratie">
    </form>
    <div class="tooltipContent" id="sprytooltip1">&gt; Klik om het formulier te verifiëren en u  te registreren.</div>
    <p> </p>
    <p> </p>
    <script type="text/javascript">
    <!--
    var sprypassword2 = new Spry.Widget.ValidationPassword("sprypassword2", {validateOn:["blur"], minChars:6, maxChars:15, minAlphaChars:1, minNumbers:1, maxAlphaChars:14, maxNumbers:14, minUpperAlphaChars:0, maxUpperAlphaChars:14, minSpecialChars:0, maxSpecialChars:0});
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"], minChars:6, maxChars:50});
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {isRequired:false, validateOn:["blur"], minChars:0, maxChars:100});
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "integer", {validateOn:["blur"], isRequired:false, minValue:0, maxValue:9999999999, minChars:9, maxChars:10});
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "integer", {validateOn:["blur"], minValue:0, maxValue:9999999999, minChars:9, maxChars:10});
    var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "email", {isRequired:false, validateOn:["blur"], minChars:7, maxChars:50});
    var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6", "email", {validateOn:["blur"], minChars:7, maxChars:50});
    var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7", "none", {validateOn:["blur"], isRequired:false, minChars:0, maxChars:50});
    var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8", "none", {validateOn:["blur"], isRequired:false, minChars:0, maxChars:50});
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
    var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9", "none", {validateOn:["blur"], maxChars:50, minChars:1});
    var sprytextfield10 = new Spry.Widget.ValidationTextField("sprytextfield10", "none", {validateOn:["blur"], minChars:1, maxChars:50});
    var sprytextfield11 = new Spry.Widget.ValidationTextField("sprytextfield11", "integer", {validateOn:["blur"], minChars:2, maxChars:2, minValue:1, maxValue:31});
    var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2", {validateOn:["blur"]});
    var sprytextfield12 = new Spry.Widget.ValidationTextField("sprytextfield12", "integer", {minChars:4, maxChars:4, validateOn:["blur"], minValue:1920, maxValue:2050});
    var sprytextfield13 = new Spry.Widget.ValidationTextField("sprytextfield13", "none", {validateOn:["blur"], isRequired:false, minChars:0, maxChars:100});
    var sprytextfield14 = new Spry.Widget.ValidationTextField("sprytextfield14", "none", {isRequired:false, validateOn:["blur"], minChars:0, maxChars:50});
    var sprytextfield15 = new Spry.Widget.ValidationTextField("sprytextfield15", "none", {minChars:0, maxChars:50, isRequired:false, validateOn:["blur"]});
    var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3", {validateOn:["blur"], isRequired:false});
    var spryselect4 = new Spry.Widget.ValidationSelect("spryselect4", {validateOn:["blur"]});
    var sprytextfield16 = new Spry.Widget.ValidationTextField("sprytextfield16", "none", {validateOn:["blur"], isRequired:false, minChars:0, maxChars:50});
    var spryselect5 = new Spry.Widget.ValidationSelect("spryselect5", {isRequired:false, validateOn:["blur"]});
    var sprytextfield17 = new Spry.Widget.ValidationTextField("sprytextfield17", "integer", {validateOn:["blur"], isRequired:false, minValue:0, maxValue:9999999999, maxChars:10, minChars:9});
    var spryconfirm1 = new Spry.Widget.ValidationConfirm("spryconfirm1", "paswoord", {validateOn:["blur"]});
    var sprycheckbox1 = new Spry.Widget.ValidationCheckbox("sprycheckbox1", {validateOn:["blur"]});
    var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea1", {validateOn:["blur"], minChars:1});
    var sprytooltip1 = new Spry.Widget.Tooltip("sprytooltip1", "#registreren", {useEffect:"fade", hideDelay:2});
    var sprytextarea2 = new Spry.Widget.ValidationTextarea("sprytextarea2", {validateOn:["blur"], minChars:3});
    //-->
    </script>
    </body>
    </html>
    <?php
    mysql_free_result($Contactenlijst);
    ?>
    
    

    In your PHP code, replace-

    }
    $editFormAction = $_SERVER['PHP_SELF'];

    on this subject.

    }

    ?>

    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "registreren")) {

    // add your captcha verification code here ....

    // captcha most likely ends with a header command to relocate failed attempts, so make sure you add

    // an exit() command after that header.  Otherwise, allow the successful captcha to fall into the following

    // block of code.

    }

    do not neglect this closing brace

    ?>

    $editFormAction = $_SERVER['PHP_SELF'];

  • Download the image to the directory and database of the same form data

    Hi all

    I play to build a shopping cart (never done before) a tutorial of Gordon Knapp at www.webthang.com.

    I created the site and it works perfectly. Now, I want to extend it.

    There is a form that allows the user to add data to the database. I would also like to be able to transfer an image to a directory on the server and add the data to the database at the same time of the same shape. It would be good if the input field "< input name ="product_picture"type ="text"id ="product_picture"tabindex ="6"size ="50"/ >" could be filled automatically by the file name of the image being downloaded, but it's not a neccessity.

    I looked at different packages ASP Upload and I can upload a single image, but none of them clearly show how to download the image and add data to the database at the same time.

    It is a private project I need suggestions for free.

    The tutorial shows how to create Dev Ultra site but works perfectly well in DW. The page looks like this. It is named "admin_add.asp":

    "< %@LANGUAGE="VBSCRIPT "CODEPAGE ="65001"% >
    "" <!-#include = file '... / Connections/con_ecom.asp "-->
    < %
    Dim MM_editAction
    MM_editAction = CStr (Request.ServerVariables ("SCRIPT_NAME"))
    If (Request.QueryString <>"") then
    MM_editAction = MM_editAction & "?" & Server.HTMLEncode (Request.QueryString)
    End If

    'boolean to abandon a record edition.
    Dim MM_abortEdit
    MM_abortEdit = false
    % >
    < %
    "Implementation of the IIR.
    Function MM_IIf (condition, ifTrue or ifFalse)
    If condition = "" then
    IfFalse = MM_IIf
    On the other
    IfTrue = MM_IIf
    End If
    End Function
    % >
    < %
    If (CStr (Request ("MM_insert")) = "add_form") then
    If (not MM_abortEdit) then
    'execute the insert.
    Dim MM_editCmd

    Set MM_editCmd = Server.CreateObject ("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_con_ecom_STRING
    MM_editCmd.CommandText = "INSERT INTO products (product_category product_name, product_price, product_briefdesc, product_fulldesc, product_picture) VALUES (?,?,?,?,?,?)".
    MM_editCmd.prepared = true
    MM_editCmd.parameters.Append MM_editCmd.CreateParameter ("param1", 202, 1, 50, Request.Form ("product_category")) ' adVarWChar
    MM_editCmd.parameters.Append MM_editCmd.CreateParameter ("param2", 202, 1, 50, Request.Form ("product_name")) ' adVarWChar
    MM_editCmd.parameters.Append MM_editCmd.CreateParameter ("param3", 5, 1, -1, MM_IIF (Request.Form ("product_price"), Request.Form ("product_price"), null)) ' adDouble
    MM_editCmd.parameters.Append MM_editCmd.CreateParameter ("param4", 203, 1, 536870910, Request.Form ("product_briefdesc")) ' adLongVarWChar
    MM_editCmd.parameters.Append MM_editCmd.CreateParameter ("param5", 203, 1, 536870910, Request.Form ("product_fulldesc")) ' adLongVarWChar
    MM_editCmd.parameters.Append MM_editCmd.CreateParameter ("param6", 202, 1, 50, Request.Form ("product_picture")) ' adVarWChar
    MM_editCmd.execute
    MM_editCmd.ActiveConnection.close

    ' add the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_control.asp".
    If (Request.QueryString <>"") then
    If (InStr (1, MM_editRedirectUrl, "?", vbTextCompare in) = 0) then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
    On the other
    MM_editRedirectUrl = MM_editRedirectUrl & "" & Request.QueryString
    End If
    End If
    Response.Redirect (MM_editRedirectUrl)
    End If
    End If
    % >
    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN".
    " 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 > Administration - add a < /title > product
    "" < link href = "... / scripts/admin.css" rel = "stylesheet" type = "text/css" / >
    "< script type =" text/javascript"src ="... / scripts/ecom.js "> < / script >"
    < / head >

    < body onLoad = "adminTitle ()" >
    < div id = 'wrapper' >

    < div id = "pageHeading" > ADMINISTRATION - add a PRODUCT < / div >

    < div id = "navBar" > < a href = "admin_control.asp" > < /a > control | " Add | < a href = "admin_view.asp" > view < /a > | < a href = "admin_update1.asp" > update < /a > | < a href = "admin_delete1.asp" > delete < /a > | "" < a href = "... / Default.asp" > shop < /a > < / div >

    < br / >

    < name of the form = "add_form" id = "add_form" method = "POST" action = "< % = MM_editAction % >" >
    < table border = "1" align = "center" id = "tblArea" >
    < b >
    < class td = "tdLabel" > < table > product category
    < td colspan = "2" > < input name = "product_category" type = "text" id = "product_category" tabindex = "1" size = "50" / > < table >
    < /tr >
    < b >
    < class td = "tdLabel" > Product Name < table >
    < td colspan = "2" > < input name = 'product_name' type = 'text' id = 'product_name' tabindex = "2" size = "50" / > < table >
    < /tr >
    < b >
    < class td = "tdLabel" > < table > product price
    < class td = "tdContent" colspan = "2" > < input type = "text" name = "product_price" id = "product_price" tabindex = "3" size = "50" / > < table >
    < /tr >
    < b >
    < class td = "tdLabel" > product short Description < table >
    < class td = "tdContent" colspan = "2" > < textarea name = "product_briefdesc" id = "product_briefdesc" cols = "47" lines = "4" tabindex = "4" > < / textarea > < table >
    < /tr >
    < b >
    < class td = "tdLabel" > full < table > Product Description
    < class td = "tdContent" colspan = "2" > < textarea name = "product_fulldesc" id = "product_fulldesc" cols = "47" rows = "5" tabindex = "5" > < / textarea > < table >
    < /tr >
    < b >
    < class td = "tdLabel" > < table > product Image file name
    < class td = "tdContent" colspan = "2" > < input name = "product_picture" type = "text" id = "product_picture" tabindex = "6" size = "50" / > < table >
    < /tr >
    < b >
    < class td = "tdLabel" > < table >
    < td align = "center" > < input type = "reset" name = "Reset" id = "Reset" value = "Reset form" / > < table >
    < td align = "center" > < input type = "submit" name = "Submit" id = "Submit" value = "Add to the shop" / > < table >
    < /tr >
    < /table >
    < input type = "hidden" name = "MM_insert" value = "add_form" / >
    < / make >

    < / div >
    < / body >
    < / html >

    Hope you can help.

    Best regards

    Martin

    Have sorted it.

    Found an excellent tutorial to Webthang.

    http://www.webthang.co.UK/Tuts/tuts_dmx/rob15/rob15.asp

  • PDF files open in the form of images in the mail application

    Suddenly the mail program opens pdf attachments and automatically displays the practise in the form of images in the content field.

    Unfortunately, it is an expected behavior for a PDF in Mail.app. You a reading a very long thread about it here.

Maybe you are looking for

  • Can I change my physical keyboard?

    My questions is not on the settings of the software, but the hardware instead. I would like to know if I can change the keyboard of the MacBook Pro to another language/keyboard. Thanks in advance, Nuno

  • deleting files

    I want to delete all the files on my macbook pro

  • Data output DASYLab stop after 10 points

    Let me Preface everything by saying: I'm a novice at this. Now that's the road... I'm having a problem getting more than 10 data points to save in an output file. I'm sure it's a conflict of implementation, but I have no chance to understand. I have

  • Graph and node property

    Hello all; I want to do my most powerful .vi, so what I wanted to do are the following: 1. my entry should be: "checkbox system Boolean" table 1 d (it's must have, I need this as input in the function call library node) 2. all these checkbox (12) are

  • Cannot print the Vista Home Premium laptop on printer Epson Workforce 610 wireless

    Tried to implement printing wireless since our Toshiba laptop under Vista Home Premium to an Epson Workforce 610 printer. I have already implemented printing wireless this printer to my desktop under XP Home SP3 without problem and continue to be abl