SUBMIT

From: Date: Fri, 07 Mar 2003 07:31:27 +0000
Subject: SUBMIT
Groups: php.general 
Request: Send a blank email to php-general+get-138585@lists.php.net to get a copy of this message
dear all, hi! i have a php page by name diki.php which i have pasted below. i have removed the irrelevant code because of the size limit of the email. in this page is a submit button at the end. the form in which this button is placed is by "get" sent to p.php which has only the following contents: <?php echo "hi"; ?> but when i click on submit button i am not getting connected to p.php. strange! any help would be greatly appreciated. thanks! best wishes from India. diksha. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>Registration Form</title> <script language="JavaScript"> function allow() { if(document.f1.ocity.value!="Others") document.f1.city1.blur(); } function allow1() { if(document.f1.orcity.value!="Others") document.f1.rcity1.blur(); } function rallow() { if(document.f1.ostate.value!="Others") document.f1.state1.blur(); } function rallow1() { if(document.f1.orstate.value!="Others") document.f1.rstate1.blur(); } function adjust() { pbus1=document.f1.pbus.options[document.f1.pbus.selectedIndex].value; if(pbus1=="accounting") { document.f1.interest1.checked=true; } if(pbus1=="advertising") { document.f1.interest2.checked=true; } if(pbus1=="agriculture") { document.f1.interest3.checked=true; } if(pbus1=="arts") { document.f1.interest4.checked=true; } } function check(na) {
    var st=na;st1=st.length;
        for(i=0;i<st1;i++)
           {
             if((st.charCodeAt(i)<48)||(st.charCodeAt(i)>57))
              { return false;
              break; }
             }
       }
function checke(id) { r1=id; r2=r1.indexOf('@',0);r3=r1.indexOf('.',0); r4=r2+1; r6=r1.length -1; rlen1=r1.length; rcont=0; rstart=0; while(rstart<rlen1)
    {
      rpos=r1.indexOf("@",rstart);
      if(rpos==-1)
        break;
      rcont=rcont+1;
      rstart=rpos+1;
    }
if(rcont>1) { return false; } r5=r1.indexOf(null,r6); if((r1.indexOf('@',1)==-1)||(r2>r3)||(r3==r4)||(r3==r6)||(r1.indexOf("@",0)==-1) ||(r1.indexOf(".",0)==-1)) { return false;} } function validation() { if(document.f1.yname.value=="") {
    alert("Please enter your name");document.f1.yname.focus();return false;
} if(document.f1.cname.value=="")
    {
     alert("Please enter company name");document.f1.cname.focus();return false;
     }
if(document.f1.cat.value=="- -Select a Category- -") {
    alert("Please select Category ");document.f1.cat.focus(); return false;
    }
if(document.f1.pbus.value=="- -Select Primary Business- -") {
    alert("Please select Primary Business ");document.f1.pbus.focus();return
false;
    }
if(document.f1.bemail.value=="")
     {
       alert("Please enter business email");document.f1.bemail.focus();return
false;
     }
else {
    cbemail=checke(document.f1.bemail.value);
     if(cbemail==false)
{
         alert("Enter correct Business  Email
Address");document.f1.bemail.focus();return false;
       }
    }
if(document.f1.pemail.value=="")
      {
          alert("Please enter personal email");document.f1.pemail.focus();return
false;
      }
else
     {
      cpemail=checke(document.f1.pemail.value);
      if(cpemail==false)
        {
        alert("Enter correct Personal Email
Address");document.f1.pemail.focus();return false;
         }
    }
if(document.f1.pass.value=="")
      {
       alert("Please enter password");document.f1.pass.focus();return false;
      }
else
     {
        if(document.f1.pass.value.length<4)
          {
             alert("Password should contain 4
characters");document.f1.pass.focus();return false;
            }
       }
if(document.f1.badd1.value=="") {
     alert("Please enter business address");document.f1.badd1.focus(); return
false;
     }
if(document.f1.area.value=="") {
    alert("Please enter Area"); document.f1.area.focus();return false;
    }
if(document.f1.ocity.value=="- -Select a City- -") {
    alert("Please select a City "); document.f1.ocity.focus(); return false;
    }
if(document.f1.ostate.value=="- -Select a State- -") {
    alert("Please select a State "); document.f1.ostate.focus(); return false;
    }
if(document.f1.ocity.value!="Others")
     document.f1.city.value=document.f1.ocity.value;
else document.f1.city.value=document.f1.city1.value; if(document.f1.orcity.value!="Others") document.f1.rcity.value=document.f1.orcity.value; else document.f1.rcity.value=document.f1.rcity1.value; if(document.f1.ostate.value!="Others")
     document.f1.state.value=document.f1.ostate.value;
else document.f1.state.value=document.f1.state1.value; if(document.f1.orstate.value!="Others") document.f1.rstate.value=document.f1.orstate.value; else document.f1.rstate.value=document.f1.rstate1.value; if(document.f1.pin.value=="") {
    alert("Please enter the pin no.");
     document.f1.pin.focus();
      return false;
} if(document.f1.pin.value!="") {
        if(document.f1.pin.value==0)
        {
             alert("Please enter correct Pin code");
             document.f1.pin.focus();
            return false;
        }
    cpin=check(document.f1.pin.value);
      clength=document.f1.pin.value.length;
      if(clength>6)
      {
alert("Please enter correct pin code");
          document.f1.pin.focus();
          return false;
         }
    if(cpin==false)
      {
      alert("please enter proper pin code.");
      document.f1.pin.focus();
      return false;
      }
    }
if(document.f1.btel.value!="")
     {
      ctel=check(document.f1.btel.value);
       if(ctel==false)
         {
            alert("please enter proper bus tel no.");
            document.f1.btel.focus();
            return false;
           }
     }
if(document.f1.bfax.value!="") {
        cfax=check(document.f1.bfax.value);
       if(cfax==false)
         {
           alert("please enter proper bus Fax no.");
           document.f1.bfax.focus();
            return false;
    }
    }
if(document.f1.rpin.value!="") { if(document.f1.rpin.value==0)
        {
            alert("Please enter correct Pin code");
            document.f1.rpin.focus();
            return false;
        }
      rpin=check(document.f1.rpin.value);
      rlength=document.f1.rpin.value.length;
      if(rlength>6)
      {
          alert("Please enter correct pin code");
          document.f1.rpin.focus();
          return false;
         }
    if(rpin==false)
      {
      alert("please enter proper pin code.");
      document.f1.rpin.focus();
      return false;
      }
} if(document.f1.rtel.value!="") {
      crtel=check(document.f1.rtel.value);
      if(crtel==false)
        {
        alert("please enter proper Res. tel. no.");
        document.f1.rtel.focus();
         return false;
           }
    }
if(document.f1.skeys.value=="")
     {
         alert("Please enter search key");
        document.f1.skeys.focus();
          return false;
       }
else {
      st=document.f1.skeys.value;
      len1=st.length;
      cont=0;
      start=0;
while(start<len1)
    {
      pos=st.indexOf(",",start);
      if(pos==-1)
        break;
cont=cont+1;
      start=pos+1;
    }
if(cont>19) { alert("Only 20 keywords are allowed"); document.f1.skeys.focus();
    return false;
} } if(document.f1.own[0].checked==true)
        {
               if(document.f1.webs.value=="")
               {
                   alert("Please enter own website");
                   document.f1.webs.focus();
                   return false;
                 }
        }
if(document.f1.own[1].checked==true)
     {
      if(document.f1.webs.value!="")
       {
          alert("You cant enter  website name");
          document.f1.webs.focus();
          return false;
}
     }
if((str.indexOf('@',0)!=-1)||(str.indexOf(".",0)!=-1)||(str.indexOf("#",0)!=-1)| |(str.indexOf("*",0)!=-1)||(str.indexOf("%",0)!=-1)||(str.indexOf("$",0)!=-1)) ine=new Array(46); ine[1]=document.f1.interest1.checked;ine[2]=document.f1.interest2.checked; ine[3]=document.f1.interest3.checked;ine[4]=document.f1.interest4.checked; ine[5]=document.f1.interest5.checked;ine[6]=document.f1.interest6.checked; ine[7]=document.f1.interest7.checked;ine[8]=document.f1.interest8.checked; ine[9]=document.f1.interest9.checked;ine[10]=document.f1.interest10.checked; ine[11]=document.f1.interest11.checked;ine[12]=document.f1.interest12.checked; ine[13]=document.f1.interest13.checked;ine[14]=document.f1.interest14.checked; ine[15]=document.f1.interest15.checked;ine[16]=document.f1.interest16.checked; ine[17]=document.f1.interest17.checked;ine[18]=document.f1.interest18.checked; ine[19]=document.f1.interest19.checked;ine[20]=document.f1.interest20.checked; ine[21]=document.f1.interest21.checked;ine[22]=document.f1.interest22.checked; ine[23]=document.f1.interest23.checked;ine[24]=document.f1.interest24.checked; ine[25]=document.f1.interest25.checked;ine[26]=document.f1.interest26.checked; ine[27]=document.f1.interest27.checked;ine[28]=document.f1.interest28.checked; ine[29]=document.f1.interest29.checked;ine[30]=document.f1.interest30.checked; ine[31]=document.f1.interest31.checked;ine[32]=document.f1.interest32.checked; ine[33]=document.f1.interest33.checked;ine[34]=document.f1.interest34.checked; ine[35]=document.f1.interest35.checked;ine[36]=document.f1.interest36.checked; ine[37]=document.f1.interest37.checked;ine[38]=document.f1.interest38.checked; ine[39]=document.f1.interest39.checked;ine[40]=document.f1.interest40.checked; ine[41]=document.f1.interest41.checked;ine[42]=document.f1.interest42.checked; ine[43]=document.f1.interest43.checked;ine[44]=document.f1.interest44.checked; ine[45]=document.f1.interest45.checked; count=0; for(i=1;i<=45;i++) { if(ine[i]==true)
    count=count+1;
} if(count<2) { alert("Please check atleast two interests"); document.f1.interest1.focus(); return false; } return true; } function fyname() { document.f1.yname.focus(); } </script> </head> <body> <form method=get action="p.php" name="f4" onsubmit="return validation();"> <h1><font size="+0"><center><b>B</b>usiness Directory Of India</center></font></h1> <p><font size="+0"><center></center></p> <?PHP $connection=mysql_connect("localhost","root","")or die("Could not connect"); print "Connected successfully"; mysql_select_db("bdoi_change")or die("could not select database"); echo " $login "; $query = "SELECT * FROM regist WHERE login='$login' "; $result = mysql_query($query,$connection) or die("Query failed"); // Printing results in HTML while ($line = mysql_fetch_array($result ,MYSQL_ASSOC) ) { $yname=$line["yname"]; $cname=$line["cname"]; //echo "$yname"; print "\t<tr>\n"; foreach ($line as $col_value) { print "\t\t<td>$col_value</td>\n"; } print "\t</tr>\n"; } ?> <pre> //<form> Login ID <font color="red">* </font><input name="login" value="<?php echo $login; ?>" > //</form>
Password           <font color="red">* </font><input name="pass"
style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="1" size="20">
Your Name          <font color="red">* </font><input name="yname" value="<?php
echo $yname; ?>" style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="1" size="20">
Company Name       <font color="red">* </font><input name="cname" value="<?php
echo $cname; ?>" style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="2" size="20">
Category           <font color="red">* </font><select name="cat" size="1"
style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="3"> <option selected value="- -Select a Category- -">- -Select a Category- -</option><option value="Manufacturing or Assembling">Manufacturing or Assembling</option><option value="Services">Services</option><option value="Trading">Trading</option><option value="Retailing">Retailing</option><option value="Whole-selling">Whole-selling</option><option value="Consulting">Consulting</option><option value="Marketing or Promotions">Marketing or Promotions</option></select> Primary Business <font color="red">* </font><select name="pbus" onchange="adjust()" size="1" style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="4"> <option selected value="- -Select Primary Business- -">- -Select Primary Business- -</option><option value="accounting">Accounting related</option><option value="advertising">Advertising and Marketing</option><option value="agriculture">Agriculture related</option><option value="arts">Antiques-Arts related</option><option value="industry">Association,Industry body,etc</option><option value="auctions">Auctions related</option><option value="automobiles">Automobiles related</option><option value="ayurvedic">Ayurvedic,Homeopathic,Herbal,Altemative Medicines</option><option value="beauty">Beauty products and services related</option><option value="books">Books,Periodicals,Publications related</option><option value="building">Building and Civil work related</option><option value="chemicals">Chemicals,dyes and related</option><option value="children">Children related items (not toys)</option><option value="education">Coaching classes,education related</option><option value="computer">Computer related (not internet)</option><option value="consumer">Consumer Electronics related</option><option value="electrical">Electrical equipment and Electronics</option><option value="recruitment">Employment,recruitment,HR related</option><option value="entertainment">Entertainment,films,drama,music related</option><option value="fashion">Fashion industry,accessories,etc</option><option value="finance">Finance and economics related</option><option value="restaurant">Food,restaurant,eating out related</option><option value="foodprocessing">Food processing,sea-food,refridgeration related</option><option value="furniture">Furniture,fixtures and interior related</option><option value="gift">Gift articles related</option><option value="homeproducts">Home products related</option><option value="internet">Internet and web related business</option><option value="jewellery">Jewellery,precious stones,etc</option><option value="law">Law related</option><option value="leather">Leather,leather products,etc</option><option value="doctors">Medical Doctors,dentists,surgeons,etc</option><option value="hospitals">Medical Hospitals and nursing homes</option><option value="surgical">Medical &amp; Surgical Equipments</option><option value="metals">Metals &amp; Metals Products</option><option value="office">Office products (equiment,stationary,etc)</option><option value="pharmacy">Pharmaceuticals,bulk drugs,related</option><option value="photography">Photography,videography,etc</option><option value="travel">Travel,Tourism,Hotels,hospitallity industry related</option><option value="wedding">Wedding and personal event management</option></select>
Business Email     <font color="red">* </font><input name="bemail"
style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="5" size="20">
Personal Email     <font color="red">* </font><input name="pemail"
style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="6" size="20"> Business Address <font color="red">* </font><input name="badd1" size="47" style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="8">
                     <input name="badd2" size="47" style="FONT-FAMILY: Verdana;
FONT-SIZE: 8pt" tabIndex="9">
Area               <font color="red">* </font><input name="area"
style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="10" size="20">
City               <font color="red">* </font><select name="ocity" size="1"
style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="11"> <option selected value="- -Select a City- -">- -Select a City- -</option><option value="Agartala">Agartala</option><option value="Agra">Agra</option><option value="Ratnagiri">Ratnagiri</option><option value="Sangli">Sangli</option><option value="Shillong">Shillong</option><option value="Sholapur">Sholapur</option><option value="Simla">Simla</option><option value="Surat">Surat</option><option value="Tirupati">Tirupati</option><option value="Others">Others</option></select><input name="city1" onfocus="allow()" size="20">
State              <font color="red">* </font><select name="ostate" size="1"
style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="12"> <option selected value="- -Select a State- -">- -Select a State- -</option><option value="Andhra Pradesh">Andhra Pradesh</option><option value="Arunachal Pradesh">Arunachal Pradesh</option><option value="Assam">Assam</option><option value="Bihar">Bihar</option><option value="Gujarat">Gujarat</option><option value="Goa">Goa</option><option value="Haryana">Haryana</option><option value="Himachal Pradesh">Himachal Pradesh</option><option value="Jammu and Kashmir">Jammu and Kashmir</option><option value="Rajastan">Rajastan</option><option value="West Bengal">West Bengal</option><option value="Sikkim">Sikkim</option><option value="Tamilnadu">Tamilnadu</option><option value="Uttar Pradesh">Uttar Pradesh</option><option value="Andaman And Nicobar Islands">Andaman And Nicobar Islands</option><option value="Others">Others</option></select><input name="state1" onfocus="rallow()" size="20">
Pincode            <font color="red">* </font><input name="pin"
style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="13" size="20"> Business Tel. Number <input name="btel" style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="14" size="20"> Business Fax Number <input name="bfax" style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="15" size="20">
Res. Address         <input name="radd1" size="47" style="FONT-FAMILY: Verdana;
FONT-SIZE: 8pt" tabIndex="16">
                     <input name="radd2" size="47" style="FONT-FAMILY: Verdana;
FONT-SIZE: 8pt" tabIndex="17">
Area                 <input name="rarea" style="FONT-FAMILY: Verdana; FONT-SIZE:
8pt" tabIndex="18" size="20">
City                 <select name="orcity" size="1" style="FONT-FAMILY: Verdana;
FONT-SIZE: 8pt" tabIndex="19"> <option selected value="- -Select a City- -">- -Select a City- -</option><option value="Agartala">Agartala</option><option value="Agra">Agra</option><option value="Ahmedabad">Ahmedabad</option><option value="Ahmednagar">Ahmednagar</option><option value="Aizawl">Aizawl</option><option value="Ajmer">Ajmer</option><option value="Allahabad">Allahabad</option><option value="Amaravati">Amaravati</option><option value="Amritsar">Amritsar</option><option value="Aurangabad">Aurangabad</option><option value="Bangalore">Bangalore</option><option value="Baroda">Baroda</option><option value="Bhavnagar">Bhavnagar</option><option value="Bhubaneshwar">Bhubaneshwar</option><option value="Calcutta">Calcutta</option><option value="Chennai">Chennai</option><option value="Cochin">Cochin</option><option value="Sangli">Sangli</option><option value="Shillong">Shillong</option><option value="Sholapur">Sholapur</option><option value="Simla">Simla</option><option value="Surat">Surat</option><option value="Tirupati">Tirupati</option><option value="Vashi">Vashi</option><option value="Vijaywada">Vijaywada</option><option value="Wardha">Wardha</option><option value="Others">Others</option></select><input name="rcity1" onfocus="allow1()" style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" size="20">
State                <select name="orstate" size="1" style="FONT-FAMILY:
Verdana; FONT-SIZE: 8pt" tabIndex="20"> <option selected value="- -Select a State- -">- -Select a State- -</option><option value="Andhra Pradesh">Andhra Pradesh</option><option value="Arunachal Pradesh">Arunachal Pradesh</option><option value="Assam">Assam</option><option value="Bihar">Bihar</option><option value="Gujarat">Gujarat</option><option value="Goa">Goa</option><option value="Haryana">Haryana</option><option value="Himachal Pradesh">Himachal Pradesh</option><option value="Jammu and Kashmir">Jammu and Kashmir</option><option value="Tamilnadu">Tamilnadu</option><option value="Uttar Pradesh">Uttar Pradesh</option><option value="Andaman And Nicobar Islands">Andaman And Nicobar Islands</option><option value="Others">Others</option></select><input name="rstate1" onfocus="rallow1()" style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" size="20">
Pincode              <input name="rpin" style="FONT-FAMILY: Verdana; FONT-SIZE:
8pt" tabIndex="21" size="20">
Res. Telephone       <input name="rtel" style="FONT-FAMILY: Verdana; FONT-SIZE:
8pt" tabIndex="22" size="20"> 20 Keywords Someone Would Use To Search For Your Business On Internet (keywords should be separated by comma only) <font color="red">* </font><input name="skeys" size="75" style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="23"> Do You Already Own A Website? <input CHECKED name="own" tabIndex="24" type="radio" value="yes">Yes<input name="own" tabIndex="25" type="radio" value="no">No (If Yes)Please enter website URL(http:// <input name="webs" style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="26" size="20"></pre> <pre>If No)Do you want to create one? If Yes, Check this<input name="freew" tabIndex="27" type="checkbox" value="yes"></pre> <pre>Select monetary aspect of the website you want to create <font color="red">*<select name="monasp" size="1" style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="3"> <option selected value="select one">select one</option><option value="free website">free website</option><option value="basic website">basic website</option><option value="professional website">professional website</option></select></font> Enter the name of your website <font color="red">*<input name="wname" style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" tabIndex="28" size="20">.html http://BusinessDirectoryOfIndia/primarybusiness/yourname.html</font> Are You Interested to Promote Your Business To Others?<font color="red">* </font><input CHECKED name="promote" tabIndex="29" type="radio" value="yes">Yes<input name="promote" tabIndex="30" type="radio" value="no">No I am interested in receiving mails every week for the following Businesses: </pre> <table height="426">
    <tbody>
      <tr>
        <td height="21"><font size="+0"><input name="interest1"
onclick="adjust()" type="checkbox" value="accounting">Accounting&nbsp;
          related</font>
        </td>
        <td height="21"><font size="+0">
          <pre><input name="interest2" onclick="adjust()" type="checkbox"
value="advertising">Advertising and Marketing</font></pre>
        </td>
      </tr>
      <tr>
        <td height="21"><input name="interest7" onclick="adjust()"
type="checkbox" value="automobiles">Automobiles
          related</td>
        <td height="21"><input name="interest8" onclick="adjust()"
type="checkbox" value="ayurvedic">Ayurvedic,Homeopathic,Herbal,Altemative
          Medicines</td>
      </tr>
      <tr>
        <td height="21"><input name="interest13" onclick="adjust()"
type="checkbox" value="children">Children
          related items (not toys)</td>
        <td height="21"><input name="interest14" onclick="adjust()"
type="checkbox" value="education">Coaching
          classes,education related</td>
      </tr>
      <tr>
        <td height="21"><input name="interest15" onclick="adjust()"
type="checkbox" value="computer">Computer
          related (not internet)</td>
        <td height="21"><input name="interest16" onclick="adjust()"
type="checkbox" value="consumer">Consumer
          Electronics related</td>
      </tr>
      <tr>
        <td height="21"><input name="interest17" onclick="adjust()"
type="checkbox" value="electrical">Electrical
          equipment and Electronics</td>
        <td height="21"><input name="interest18" onclick="adjust()"
type="checkbox" value="recruitment">Employment,recruitment,HR
          related</td>
      </tr>
      <tr>
        <td height="21"><input name="interest21" onclick="adjust()"
type="checkbox" value="finance">Finance
          and economics related</td>
        <td height="21"><input name="interest22" onclick="adjust()"
type="checkbox" value="restaurant">Food,restaurant,eating
          out related</td>
      </tr>
      <tr>
        <td height="21"><input name="interest23" onclick="adjust()"
type="checkbox" value="foodprocessing">Food
          processing,sea-food,refridgeration related</td>
        <td height="21"><input name="interest24" onclick="adjust()"
type="checkbox" value="furniture">Furniture,fixtures
          and interior related</td>
      </tr>
      <tr>
        <td height="21"><input name="interest25" onclick="adjust()"
type="checkbox" value="gift">Gift
          articles related</td>
        <td height="21"><input name="interest26" onclick="adjust()"
type="checkbox" value="homeproducts">Home
          products related</td>
      </tr>
      <tr>
        <td height="21"><input name="interest33" onclick="adjust()"
type="checkbox" value="surgical">Medical
          &amp; Surgical Equipments</td>
        <td height="21"><input name="interest34" onclick="adjust()"
type="checkbox" value="metals">Metals
          &amp; Metals Products</td>
      </tr>
    </tbody>
</table> <input name="city" type="hidden"><input name="rcity" type="hidden"><input name="state" type="hidden"><input name="rstate" type="hidden"><center><input name="sub" tabIndex="31" type="submit" value="Submit"> <input name="res" tabIndex="32" type="reset" value="Cancel"></center></font> </form> //<?php //echo "insert into regist (login,yname,cname) values ('$login','$yname','$cname')"; //$query2 ="INSERT INTO regist (login,yname,cname) VALUES ('$login','$yname','$cname')"; //$result2= mysql_query($query2,$connection) or die("Query2 failed"); //echo "insert into entry (login,pass) values ('$login','$pass')"; //$query3="insert into entry (login,pass) values ('$login','$pass')"; //$result3=mysql_query($query3,$connection) or die("Query3 failed"); //?> //</form> </body> </html>

« previous php.general (#138585) next »