Membership form is creating row in database but no information is being inserted?

The connection is being made to my database but the information in the fields isn't being written to the fields. It just shows up like this:
This is the code
Membershipval.php (connection to the database)
<?php
define('DB_NAME','db444290179');
define('DB_USER','dbo444290179');
define('DB_PASSWORD','hello123');
define('DB_HOST','db444290179.db.1and1.com');
define('DB_TABLE','Membership');
$link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_TABLE);
if (!$link){
          die ('Could not connect: ' . mysql_error());
$db_selected = mysql_select_db(DB_NAME, $link);
if (!$db_selected) {
          die('can\'t use' . DB_NAME . ': ' . mysql_error());
$value1 = $_POST['MembershipType'];
$value2 = $_POST['BCUMemberType'];
$value3 = $_POST['Full Name'];
$value4 = $_POST['Dateofbirth'];
$value5 = $_POST['Sex'];
$value6 = $_POST['PhoneNumber'];
$value7 = $_POST['EmailAddress'];
$value8 = $_POST['BCUNumber'];
$value9 = $_POST['BCUMember'];
$value10 = $_POST['StreetAddress'];
$value11 = $_POST['Town'];
$value12 = $_POST['City'];
$value13 = $_POST['Postcode'];
$value14 = $_POST['Disability'];
$value15 = $_POST['MedicalInformation'];
$value16 = $_POST['Photography'];
$value17 = $_POST['ContactName'];
$value18 = $_POST['Relationship'];
$value19= $_POST['ContactPhoneNumber'];
echo 'connected successfully';
$sql = "INSERT INTO Membership (MembershipType, BCUMemberType, FullName, Dateofbirth, Sex, PhoneNumber, EmailAddress, BCUNumber, BCUMember, StreetAddress, Town, City, Postcode, Disability, MedicalInformation, Photography, ContactName, Relationship, ContactPhoneNumber) VALUES ('$value1', '$value2', '$value3', '$value4', '$value5', '$value6', '$value7', '$value8', '$value9', '$value10', '$value11', '$value12', '$value13', '$value14', '$value15', '$value16', '$value17', '$value18','$value19')";
if (!mysql_query($sql)){
          die('Error: ' . mysql_error());
mysql_close();
?>
Membership.php (the form)
<div class="Form" id="Form" align="center">
    <table width="547" height="768" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <th colspan="2" scope="col">Membership Form</th>
      </tr>
      <tr>
        <td align="center"><form name="form13" method="post" action="Membershipval.php">
          <label for="MembershipType">Non BCU-Membership Type</label>
        </form></td>
        <td align="center"><select name="MembershipType" id="MembershipType">
          <option>Select....</option>
          <option value="£15">Junior (U18)/ Student £15</option>
          <option value="£22">Adult £22</option>
          <option value="£35">Family £35</option>
          <option value="£45">Schools/Groups/Clubs £45</option>
        </select></td>
      </tr>
      <tr>
        <td align="center"><form name="form14" method="post" action="Membershipval.php">
          <label for="BCUMemberType">BCU Member Type</label>
        </form></td>
        <td align="center"><select name="BCUMemberType" id="BCUMemberType">
          <option>Select....</option>
          <option value="£13">Junior (U18)/ Student £13</option>
          <option value="£20">Adult £20</option>
          <option value="£31">Family £31</option>
          <option value="£5">Social Members Only £5</option>
        </select></td>
      </tr>
      <tr>
        <td colspan="2" align="center"><b>Personal Information</b></td>
      </tr>
      <tr>
        <td><form name="form2" method="post" action="Membershipval.php">
          <label for="Full Name">Full Name</label>
        </form></td>
        <td><input type="text" name="FullName" id="FullName"></td>
      </tr>
      <tr>
        <td><form name="form3" method="post" action="Membershipval.php">
          <label for="Dateofbirth">D.O.B</label>
        </form></td>
        <td><input type="text" name="Dateofbirth" id="Dateofbirth"></td>
      </tr>
      <tr>
        <td><form name="form12" method="post" action="Membershipval.php">
          Sex
        </form></td>
        <td><table width="200">
          <tr>
            <td><label>
              <input type="radio" name="Sex" value="Male" id="Sex_0">
              Male</label></td>
          </tr>
          <tr>
            <td><label>
              <input type="radio" name="Sex" value="Female" id="Sex_1">
              Female</label></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><form name="form6" method="post" action="Membershipval.php">
          <label for="PhoneNumber">Phone Number</label>
        </form></td>
        <td><input type="text" name="PhoneNumber" id="PhoneNumber"></td>
      </tr>
      <tr>
        <td><form name="form7" method="post" action="Membershipval.php">
          <label for="Email Address">Email Address</label>
        </form></td>
        <td><input type="text" name="EmailAddress" id="Email Address"></td>
      </tr>
      <tr>
        <td><form name="form4" method="post" action="Membershipval.php">
          BCU Member
        </form></td>
        <td><table width="200">
          <tr>
            <td><label>
              <input type="radio" name="BCUMember" value="Yes" id="BCUMember_0">
              Yes</label></td>
          </tr>
          <tr>
            <td><label>
              <input type="radio" name="BCUMember" value="No" id="BCUMember_1">
              No</label></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><form name="form5" method="post" action="Membershipval.php">
          <label for="BCU Number">BCU Number</label>
        </form></td>
        <td><input type="text" name="BCUNumber" id="BCU Number"></td>
      </tr>
      <tr>
        <td colspan="2" align="center"><b>Address</b></td>
      </tr>
      <tr>
        <td><form name="form8" method="post" action="Membershipval.php">
          <label for="Street Address">Street Address</label>
        </form></td>
        <td><input type="text" name="StreetAddress" id="Street Address"></td>
      </tr>
      <tr>
        <td><form name="form9" method="post" action="Membershipval.php">
          <label for="Town">Town</label>
        </form></td>
        <td><input type="text" name="Town" id="Town"></td>
      </tr>
      <tr>
        <td><form name="form10" method="post" action="Membershipval.php">
          <label for="City">City</label>
        </form></td>
        <td><input type="text" name="City" id="City"></td>
      </tr>
      <tr>
        <td><form name="form11" method="post" action="Membershipval.php">
          <label for="Postcode">Postcode</label>
        </form></td>
        <td><input type="text" name="Postcode" id="Postcode"></td>
      </tr>
      <tr>
        <td colspan="2" align="center"><b>Medical Information</b></td>
      </tr>
      <tr>
        <td><form name="form15" method="post" action="Membershipval.php">
          <label for="Disability">Disability</label>
        </form></td>
        <td><input type="text" name="Disability" id="Disability"></td>
      </tr>
      <tr>
        <td><form name="form16" method="post" action="Membershipval.php">
          <label for="Medical Information">Medical Information</label>
        </form></td>
        <td rowspan="3"><textarea name="MedicalInformation" id="Medical Information" cols="45" rows="5"></textarea></td>
      </tr>
      <tr>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
      </tr>
      <tr>
        <td colspan="2" align="center"><b>Consent</b></td>
      </tr>
      <tr>
        <td><form name="form17" method="post" action="Membershipval.php">
          Do we have your consent to take photographs
        </form></td>
        <td><table width="200">
          <tr>
            <td><label>
              <input type="radio" name="Photography" value="Yes" id="Photography_0">
              Yes</label></td>
          </tr>
          <tr>
            <td><label>
              <input type="radio" name="Photography" value="No" id="Photography_1">
              No</label></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td colspan="2" align="center"><b>Emergency Contact Details</b></td>
      </tr>
      <tr>
        <td><form name="form18" method="post" action="Membershipval.php">
          <label for="Contact Name">Contact Name</label>
        </form></td>
        <td><input type="text" name="ContactName" id="Contact Name"></td>
      </tr>
      <tr>
        <td><form name="form19" method="post" action="Membershipval.php">
          <label for="Relationship">Relationship</label>
        </form></td>
        <td><input type="text" name="Relationship" id="Relationship"></td>
      </tr>
      <tr>
        <td><form name="form20" method="post" action="Membershipval.php">
          <label for="ContactPhoneNumber">Contact Phone Number</label>
        </form></td>
        <td><input type="text" name="ContactPhoneNumber" id="Contact Phone Number"></td>
      </tr>
      <tr>
        <td colspan="2" align="center"><b>Confimation</b></td>
      </tr>
      <tr>
        <td colspan="2"><form name="form21" method="post" action="Membershipval.php">
          <input type="checkbox" name="Terms" id="Terms">
          <label for="Terms">I accept the Terms and Conditions </label>
        </form></td>
      </tr>
      <tr>
        <td colspan="2" align="center"><form name="form22" method="post" action="Membershipval.php">
          <input type="submit" name="Submit" id="Submit" value="Submit">
        </form></td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
      </tr>
    </table>
Does anyone have any ideas why this is happening?

Everyone has to start, somewhere.  I got a lot of help when I started.  Just paying it forward. 
Glad I could help.
^_^

Similar Messages

  • Created a contained database but unable to connect

    Using scripts provided here:
    http://blogs.msdn.com/b/sqlsecurity/archive/2010/12/08/contained-database-authentication-in-depth.aspx
    Created a contained database in SQL Server Management Studio and a user <domain\user>. and a password.
    When trying to look at its properties got this messge,
    After fixing the above, I could get the properties and the Select query for the View
    sys.dm_db_uncontained_entities
    When I try to connect using SQL Server Login;
    Server: localhost  username & password that of contained database and the default database in login options changed to ContainedDatabase. The authentication is mixed mode.
    How do I login?
    Jayaram Krishnaswamy

    Erland,
    Thanks
    As to SSMS version:
    Microsoft SQL Server Management Studio      11.0.2100.60
    Microsoft Data Access Components (MDAC)      6.1.7601.17514
    Microsoft MSXML      3.0 4.0 6.0
    Microsoft Internet Explorer      9.10.9200.16750
    Microsoft .NET Framework      4.0.30319.18408
    Operating System      6.1.7601
    Toshiba Laptop Windows 7 (x64) Ultimate
    From the error message I guessed that default language may not be configured  for the contained DB and applied the correction. The funny thing is that stored procedure returned the reply that 1033 was changed to 1033.
    The login procedure I used is exactly the way you mentioned which is also mentioned in the quoted article in my original post.
    In the connect to server, I specified localhost; SQL Server authentication with the username and password created by the script for the contained database; and in the options changed the default to the name of the contained database. I get a network error
    that it cannot find the server.
    mysorian

  • How to create Rows in Database with EJB3.0 Entities - Relationship Problem

    Hi,
    I don't have much experience in writing Entity Java Beans, so if some questions are "dummy-questions", I apologize for that.
    Actual state: I have implemented Entity Java Beans with relationships between them. I can deploy them to JBOSS AS and everything is fine. Then, I want to implement a small client to fill the database with some values to check if my Beans are correct.
    Problem: I have three Beans, that have relationships.
    Entity Flight, Entity FlightSeat and Entity Address
    Flight has a OneToMany relationship with FlightSeat and two ManyToOne relationships with Address (for start- and destinationaddress of the flight)
    No, I want to create Values in the database with the Entities, but I don't know how I have to conside the relationships. How can I add a Flight row to the database? Do I have to specifiy the start- and destinationaddress, when saving the entity Flight with Entitymanager.persist()?? Maybe you know a good Tutorial where I can see, how it is possible to fill the tables?
    Here my Implementation:
    Flight.java:
    package at.ac.tuwien.inetappl.entity;
    import java.io.Serializable;
    import javax.persistence.CascadeType;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.JoinColumn;
    import javax.persistence.ManyToOne;
    import javax.persistence.OneToMany;
    import javax.persistence.Table;
    import javax.persistence.FetchType;
    import java.util.Date;
    import java.util.Collection;
    @Entity
    @Table (name="REL_FLIGHT")
    public class Flight implements Serializable{
         private long flightid;
         private String company;
         private Date duration;
         private Address startaddress;
         private Address destinationaddress;
         private Collection<FlightSeat> seats;
         public Flight() {}
         public Flight(String company, Date duration, Address startaddress, Address destinationaddress)
              this.company=company;
              this.duration=duration;
              this.startaddress=startaddress;
              this.destinationaddress=destinationaddress;
         @Id @GeneratedValue(strategy=GenerationType.AUTO)
         @Column(name="FLIGHT_ID")
         public long getId()
              return this.flightid;
         public void setId(long flightid)
              this.flightid = flightid;
         @Column(name="COMPANY")
         public String getCompany()
              return this.company;
         public void setCompany(String company)
              this.company=company;          
         @Column(name="DURATION")
         public Date getDuration()
              return this.duration;
         public void setDuration(Date duration)
              this.duration=duration;
         @ManyToOne (optional=false)
         @JoinColumn(name = "START_ADDRESS_ID")
         public Address getStartAddress()
              return this.startaddress;
         public void setStartAddress(Address startaddress)
              this.startaddress=startaddress;
         @ManyToOne (optional=false)
         @JoinColumn(name = "DESTINATION_ADDRESS_ID")
         public Address getDestinationAddress()
              return this.destinationaddress;
         public void setDestinationAddress(Address destinationaddress)
              this.destinationaddress=destinationaddress;
         @OneToMany(cascade = CascadeType.ALL, fetch=FetchType.EAGER, mappedBy="flight")
         //@JoinColumn(name= "SEAT_ID")
         public Collection<FlightSeat> getSeats()
              return this.seats;
         public void setSeats(Collection<FlightSeat> seats)
              this.seats=seats;
    }Address.java:
    package at.ac.tuwien.inetappl.entity;
    import java.io.Serializable;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.Table;
    import javax.persistence.Column;
    @Entity
    @Table (name="REL_ADDRESS")
    public class Address implements Serializable{
         private String land;
         private String city;
         private String street;
         private int streetnumber;
         private int postalcode;
         private long addressid;
         public Address() {}
         public Address (String land, String city, String street,
                   int streetnumber, int postalcode) {
              this.land=land;
              this.city=city;
              this.street=street;
              this.streetnumber=streetnumber;
              this.postalcode=postalcode;          
         @Id @GeneratedValue(strategy=GenerationType.AUTO)
         @Column(name="ADDRESS_ID")
         public long getId()
              return this.addressid;
         public void setId(long addressid)
              this.addressid = addressid;
         @Column(name="LAND")
         public String getLand()
              return this.land;
         public void setLand(String land)
              this.land=land;
         @Column(name="CITY")
         public String getCity()
              return this.city;
         public void setCity(String city)
              this.city=city;          
         @Column(name="STREET")
         public String getStreet()
              return this.street;
         public void setStreet(String street)
              this.street=street;
         @Column(name="STREETNUMBER")
         public int getStreetNumber()
              return this.streetnumber;
         public void setStreetNumber(int streetnumber)
              this.streetnumber=streetnumber;
         @Column(name="POSTALCODE")
         public int getPostalCode()
              return this.postalcode;
         public void setPostalCode(int postalcode)
              this.postalcode=postalcode;
    /code]
    FlightSeat.java package at.ac.tuwien.inetappl.entity;
    import java.io.Serializable;
    import javax.persistence.Column;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.Entity;
    import javax.persistence.JoinColumn;
    import javax.persistence.ManyToOne;
    import javax.persistence.Table;
    @Entity
    @Table (name="REL_FLIGHTSEAT")
    public class FlightSeat implements Serializable {
         private long seatid;
         private String category;
         private int price;
         private boolean available;
         private Flight flight;
         public FlightSeat() {}
         public FlightSeat(String category, int price, boolean available)
              this.category=category;
              this.price=price;
              this.available=available;
         @Id @GeneratedValue(strategy=GenerationType.AUTO)
         @Column(name="SEAT_ID")
         public long getId()
              return this.seatid;
         public void setId(long seatid)
              this.seatid = seatid;
         @Column(name="CATEGORY")
         public String getCategory()
              return this.category;
         public void setCategory(String category)
              this.category=category;
         @Column(name="PRICE")
         public int getPrice()
              return this.price;
         public void setPrice(int price)
              this.price=price;
         @Column(name="AVAILABLE")
         public boolean getAvailability()
              return this.available;
         public void setAvailability(boolean available)
              this.available=available;
         @ManyToOne()
         @JoinColumn(name="FLIGHT_ID")
         public Flight getFlight()
              return this.flight;
         public void setFlight(Flight flight)
              this.flight=flight;
    FlightBean.java - implementing business methods
    package at.ac.tuwien.inetappl.bean;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    import javax.ejb.Remote;
    import at.ac.tuwien.inetappl.entity.Flight;
    import at.ac.tuwien.inetappl.entity.Address;
    import at.ac.tuwien.inetappl.entity.FlightSeat;
    import java.util.Collection;
    import java.util.Date;
    import java.util.Iterator;
    import java.io.Serializable;
    import javax.persistence.Query;
    @Stateless
    @Remote(FlightInterface.class)
    public class FlightBean implements FlightInterface, java.io.Serializable {
         //private Collection<Flight> flight;
         @PersistenceContext
         protected EntityManager em;
         /* CRUD METHODS FOR FLIGHT */
         /* CREATE FLIGHT */
         public void createFlight(String company, Date duration, Address start, Address dest)
              Flight flight = new Flight();
              flight.setCompany(company);
              flight.setDuration(duration);
              flight.setStartAddress(start);
              flight.setDestinationAddress(dest);
              em.persist(flight);     
         public void updateFlight(Flight flight)
              em.persist(flight);
         /* DELETE FLIGHT*/
         public void deleteFlight(long id)
               Query q = em.createQuery("DELETE FROM FLIGHT f WHERE f.FLIGHT_ID = :id");
               q.setParameter ("id", new Long(id));
         /* SEARCH METHODS FOR FLIGHT */
         public Collection<Flight> getFlights()
              return em.createQuery("from FLIGHT f").getResultList();
         public Flight getFlight(long id) {
              Flight flight = em.find(Flight.class, new Long(id));
              return flight;
         public String getCompany(long id) {
              Flight flight = em.find(Flight.class, new Long(id));
              String company = flight.getCompany();
              return company;
    }Thanks to all!! I hope somebody can help.
    Greetings,
    RedBaron

    On Wed, 16 May 2007 20:41:21 +0000 (UTC), "bsoliman"
    <[email protected]> wrote:
    >You need to set up virtual directories instead?see
    >
    http://support.microsoft.com/kb/172138
    The actual directories can be wherever
    >is most convenient for you?I keep mine in a folder called
    /clients outside my
    >local web root.
    >
    > Bev
    Understand that virtual directories are not exactly the same
    thing as
    virtual hosts.
    A virtual directory will not act as the root for a site. IIS
    will
    still think that your site root is the overall IIS site root.
    There are some utilities that allow you to switch the folder
    that IIS
    uses as the root. This one works pretty well:
    http://jetstat.com/iisadmin/
    Win
    Win Day, Wild Rose Websites
    http://www.wildrosewebsites.com
    [email protected]
    Skype winifredday

  • Display the records in forms when creating in a database

    hi to all
    i have a problem in forms, run in c\s using form6i..
    How can i display the records when i create a records to database and automatically display in forms when i open the forms or when creating a records?
    example:
    in form#1 , this is where i create records, i create records =A it will insert in database .when i update record A. I change A to B..then form#2 will also change to B and appear or dispaly in forms.
    in form#2, this has also a text item, when i open this form, it will appear the A records here, it will also update....
    what should be the best trigger to used and how to do this? plzzz help
    tnx in advance
    mica

    How can i display the records when i create a records
    to database and automatically display in forms when i
    open the forms or when creating a records?
    example:
    in form#1 , this is where i create records, i create
    records =A it will insert in database .when i update
    record A. I change A to B..then form#2 will also
    change to B and appear or dispaly in forms.Yours question is not clear to me , you didnt mention forms A and B contain the same underlying table or both have diffrent underlying table.
    My assumption both have diffrent table if its the case then use MERGE DML (introduced within 9i) and get refreshed it by TIMER (execute_query) within forms B.
    You need to clarify more what you wana achieve.
    Khurram

  • Getting error while creating rows in database

    Hi ,
    I am new to java and currently working on EJBs .
    The tables i have are ABC and XYZ and their columns are
    ABC - fk1,fk2 // these make the composite primary key
    XYZ- fk1 // which is primary key for this table
    I am trying to create multiple rows in ABC table which has a CMR field for the XYZ .
    if i try to create single row there is no error and if i remove the CMR field then also there is no error
    i am getting the following error
    pe8.1|javax.enterprise.system.container.ejb.entity.lifecycle|_ThreadID=16;|JDO74008: Bean 'MonitoredJobRequestTypeBean' method ejbCreate: problems during ejbCreate; parameters: RTO_TESTING_SURESG, 16666
    com.sun.jdo.api.persistence.support.JDOUnsupportedOptionException: JDO76207: Update of a primary key field is not allowed.
         at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.assertPKUpdate(SQLStateManager.java:4069)
         at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.nullifyForeignKey(SQLStateManager.java:
    please help me
    bye ,
    Suresh

    How can you create multiple rows by calling one entity bean..Each bean is supposed to be reflection of a row of a table rite,....
    please write down your code so that it is easy to understrand your problem
    regards
    shanu

  • Help Required: Updating Multiple dynamically created rows in database

    Hi All,
    In my jsp page I am retriving the values from the database and displaying in the jsp page, the columns are studentID and student name. Now for each studentID i am creating two textfields as date of birth and parent name.
    my code snippet is as follows
    while(rs.next())
    <tr>
    <td><%=studID%></td>
    <td><%=name%></td>
    <td><input type="text" name="DOB<%=studID%>"></td>
    <td><input type="text" name="PName<%=studID%>"></td>
    </tr>
    from the above code i am getting dynamically create textfield whose names are
    <input type="text" name="DOB10001">
    <input type="text" name="PName10001">
    and so on now how can i capture all these values and update the corresponding records in the database.
    Please help me in this
    Thanks in advance

    well in that case u can do this
    int i=0;
    while(rs.next())
    <tr>
    <td><%=studID%></td>
    <td><%=name%></td>
    <td><input type="text" name="DOB<%=i%>"><input type="hidden" name="h_DOB<%=i%>" value="<%=studID%>" ></</td>
    <td><input type="text" name="PName<%=i%>"></td>
    </tr>
    <%i++%>
    <input type="hidden" name="RecordCount" value="<%=i%>" >
    when u submit this for then in the other jsp u can read the data from query string
    int li_rec_count = Integer.parseInt(request.getParameter("RecordCount"));
    for(int i=0;i<li_rec_count;i++)
    String studID = request.getParameter("h_DOB"+i);
    String dob = request.getParameter("DOB"+i);
    String pName = request.getParameter("pName"+i);
    create your sql statment and update for each studID
    }

  • I am trying to display three lines of text but blank lines are being inserted between them.

    I have a section on the right side of my homepage for upcoming events.  It was displaying fine until I changed the data and now the three lines are displaying blank lines between each one. 
    Here is the code.
    <h2 class="meeting"> </h2>
          <h2 class="meeting"><a href="http://www.astm.org/MEETINGS/filtrexx40.cgi?+-P+TERM+D02+searchresults.frm">ASTM D02 2014</a></h2>
       <img class="news-image" src="images/news/Sheraton San Diego.jpg" width="100" height="61" /> 
       <p class="news-text">December 7-11, 2014</p>
          <p>Sheraton San Diego Hotel and Marina</p>
          <p>San Diego, CA</p>
      </div>
    ASTM D02 2014
    December 7-11, 2014
    Sheraton San Diego Hotel and Marina
    San Diego, CA
    The picture is displaying to the right but I want to get rid of the blank lines between the text. I am using Dreamweaver CS5 Version 11.0 Please help.

    Sorry I inserted the wrong code. 
    <div id="rightsideUpcomingevents">
       <h2 class="upcoming">Upcoming Events</h2>
          <h2 class="meeting"><a href="http://www.gulfcoastconference.com">Gulf Coast Conference</a></h2>
       <img class="news-image" src="images/news/hotel_moody.jpg" width="100" height="61" /> 
       <p class="news-text">October 14-15, 2014</p>
          <p class="news-text">Moody Gardens Convention Center</p>
          <p class="news-text">Galveston, TX</p>
          <h2 class="meeting"> </h2>
          <h2 class="meeting"><a href="http://www.astm.org/MEETINGS/filtrexx40.cgi?+-P+TERM+D02+searchresults.frm">ASTM D02 2014</a></h2>
       <img class="news-image" src="images/news/Sheraton San Diego.jpg" width="100" height="61" /> 
       <p class="news-text">December 7-11, 2014</p>
          <p class="news-text">Sheraton San Diego Hotel and Marina</p>
          <p class="news-text">San Diego, CA</p>
      </div>
    .rightside-text
    {padding:0px; color:#172B61;}
    .news-image {float:right; margin-right:10px; }
    .news-text { padding:0px; color:#000;}

  • How to Create A new Database in the oracle 10g XE

    i have oracle 10g XE i tried to create a new database but its giveing me error when i execute the sql command that is create database testDatabase how to create a new database in oracle 10g XE

    Hi there 785434,
    (This is a generic SQL question relating to Database Triggers, please post future questions of this type into the relevant forum area.)
    Moderator, please move this if able
    I use Before Update and Before Delete Triggers to record a 'snapshot' of the row being changed in my applications.
    Example:
    CREATE TABLE TEST
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE
    LOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE TABLE TEST_HISTORY
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE,
    CHANGE_DESCRIPTION
    NOLOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE OR REPLACE TRIGGER TRG_BU_TEST
    BEFORE UPDATE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'UPDATE');
    END;
    CREATE OR REPLACE TRIGGER TRG_BD_TEST
    BEFORE DELETE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'DELETE');
    END;
    Using triggers like this will record who made an update or delete to the database and record the row before it was changed.
    Note that this method might not be suitable for very high transaction rates.
    You will need to 'clear' these history tables as part of routine maintenance.
    Hope that this Helps.
    Ronald.

  • Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email.  t worked, but only for those with PC.  I could not get it to work with Apple Yosemite even with reader installed .  is there a way i can make it work for apple /

    Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email. It worked, but only for those with PC. However,  I could not get it to work with Apple loaded with Yosemite even with reader installed .  Is there a way i can make it work for apple / Mac? It worked fine on a mac using Mountain Lion and reader
    Thanks

    LiveCycle = XFA forms.
    afaik - These cannot be used in Apple OSs.
    Be well...

  • IWEB: Creating Membership Forms

    Need help with creating membership forms on my site. I also wanted to have the members listed on the site, something like Facebook for example.
    Any help deeply appreciated.
    Many thanks

    To add custom HTML to iWeb 1.x sites, see Chapter 2 HERE. Or consider using the free, web-based Ning as a "front-end" to your iWeb site — it offers _membership features_.

  • Create database base on another database .but. without data

    Hi :
    I have a database DB1, I want to create another database DB2 having all the tables of DB1 but with NO data. All tables should be blank.
    I have around 80 tables in DB1, can you please suggest me a way do this.
    Thanks

    HI, Umesh98
    pls try this
    --create a new database
    CREATE DATABASE sss_replica
    GO
    --and then execute bellow script
    --use the source database
    USE [sss] --★Do
    DECLARE @fromdb VARCHAR(100)
    DECLARE @todb VARCHAR(100)
    DECLARE @tablename VARCHAR(100)
    DECLARE @columnnames NVARCHAR(max)
    DECLARE @isidentity NVARCHAR(30)
    DECLARE @temsql NVARCHAR(max)
    DECLARE @sql NVARCHAR(max)
    SET @fromdb = 'SSS' --source database name
    SET @todb = 'sss_replica' --target database name
    IF (OBJECT_ID('#MyTempTable') IS NOT NULL)
    drop table #MyTempTable
    CREATE TABLE #MyTempTable (names varchar(500))
    insert into #MyTempTable
    SELECT name from sys.tables WHERE type='U' AND name not in (select OBJECT_NAME(parent_object_id) 'name' from sys.objects where type='F')
    insert into #MyTempTable
    select OBJECT_NAME(parent_object_id) 'name' from sys.objects where type='F' order by object_id
    --游标
    DECLARE @itemCur CURSOR
    SET @itemCur = CURSOR FOR
    SELECT names from #MyTempTable
    OPEN @itemCur
    FETCH NEXT FROM @itemCur INTO @tablename
    WHILE @@FETCH_STATUS=0
    BEGIN
    SET @sql = ''
    PRINT ('--'+@tablename)
    PRINT ('--表名 '''+@tablename+'''')
    --INSERT
    SET @sql = @sql+'SELECT * INTO ['+@todb+'].[dbo].['+@tablename+']
    FROM ['+@fromdb+'].[dbo].['+@tablename+'] WHERE 1=0'
    --返回SQL
    PRINT(@sql)PRINT('GO')+CHAR(13)
    FETCH NEXT FROM @itemCur INTO @tablename
    END
    CLOSE @itemCur
    DEALLOCATE @itemCur
    copy the result to the new tab window
    at last,Performing  the copied code
    USE [sss_replica] --use the target database name
    --MSsubscription_agents
    --表名 'MSsubscription_agents'
    SELECT * INTO [sss_replica].[dbo].[MSsubscription_agents]
    FROM [SSS].[dbo].[MSsubscription_agents] WHERE 1=0
    GO
    --myTable
    --表名 'myTable'
    SELECT * INTO [sss_replica].[dbo].[myTable]
    FROM [SSS].[dbo].[myTable] WHERE 1=0
    GO
    --dba_replicationMonitor
    --表名 'dba_replicationMonitor'
    SELECT * INTO [sss_replica].[dbo].[dba_replicationMonitor]
    FROM [SSS].[dbo].[dba_replicationMonitor] WHERE 1=0
    GO
    you will find the table already lying in the target  database
    thanks

  • How to create a thread safe and concurrent form that updates data to database.

    Hi ,
    I am creating an application which will store information from 4 or 5 text boxes in the database.
    At the same instance of time atleast 300 users will be trying to update to the  database.
    That is trying to execute the same code.
    I am worried if there will be any issue of object lockign or my page giving some error or performance issue.
    How can I solve this issue.
    Regards
    Vinod

    SQL Server manages simultaneous access to data itself, when it comes to executing a single query. It locks/unlocks tables/records automatically. So, if you are using a single UPDATE, INSERT or DELETE command, usually you won't need anything to take care
    of synchronization, but a problem named "Concurrency issue" which I explained a little ahead.
    However, if you are updating more than one table, you must use transactions, so that your changes are applied atomically. This can be done both in database level in T-SQL and also in application level in C#, VB, etc.
    In T-SQL you want to use BEGIN TRAN, COMMIT TRAN, ROLLBACK TRAN commands and in C# you want to use TransactionScope.
    You should pay attention that, transactions indeed have a hit on the performance of your database. But using them is indispensable. To prevent performance degradation, you have to tune your database and queries which itself is another big topic.
    One thing that is more important is a problem known as concurrency issue.
    If more than one user tries to update a single record, each one might overwrite the update of another user without being even notified of this. Suppose user A and B both try to update a record. They are not aware of each other working with the application.
    They open a record in edit mode in the application. Edit it and then click the "Save" button. When the application saves the record with the data provided by each user, one data will be lost definitely. Because it will be overwritten with the data
    another user has provided and his Save command, executes later than the first user.
    There are multiple ways to avoid concurrency issue. One of them is using Timestamp (old method) and RowVersion (newer method) column in a table. They can help you detect a change in a record since its last time read. But they are unable to detect what column
    or columns are changed.
    You can get better answers for this if you ask a solution for concurrency issue in a SQL Server forum.
    Regards
    Mansoor

  • My form builder create the fmx but its not populating. what is the reason?

    Hi,
    if i execute the form builder it wil create the fmx file but its not populating. if i want to use i have to run the fmx file..
    can any body help the reason why it's not populating?
    and one more proble is my form call the report but it's running. yester day it was work well. but today its not working. i didn't change any thing in that today.

    Your question is quite unclear. Also, I think you should review this:
    http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
    In the future, please be sure to include the complete product version and platform you are using. By version, I mean the numbers and not the name. For example, 10g is not a product version - it is a name.
    You said,
    ...if i execute the form builder it wil create the fmx file but its not populating. if i want to use i have to run the fmx file... What do you mean it doesn't populate+ ? Then you say, "... I have to run the fmx...". The fmx is the file you need to run. You cannot run the fmb as this is the source code file.

  • Create a clone database form rman catalog !

    Dear Friend ,
    I have a rman catalog database . I am using this rman catalog for against a database name 'testdb' . Everyday I take rman full backup of the testdb using the catalog database .
    Now I create a another database which will be the clone of the testdb . I want to create it using that rman catalog database . Can I create a new database using the catalog database ?
    If yes, then plz help me to give some directions .....

    Check here:
    [http://www.shutdownabort.com/quickguides/clone_rman.php]
    [Duplicating a Database with Recovery Manager|http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#441628]
    Oracle documentation Link added.

  • Sequence of Create Rows in View Object

    I have to insert a sequence of Rows in a entity object. While doing this , I need to display the master table record at the top of the page. I created a Data action (Dragged and Dropped Create button) which forwards to the data page containing ADF UIX input form and ADF UIX read only table(Master record). When I click te submit button, I commit the transaction and forward to the create data action again. I removed the following line from the Data Page.
    <formValue name="${bindings.statetokenid}" value="${bindings.statetoken}" id="_uixState"/>
    But Still, I'm not able to get the master record to display(Shows Empty Record) on third and subsequent insert rows. But the child record is inserted into the database on the first and second attempt.
    Please help me solve this problem.
    Sathya

    Are you using alterts related to that data object?
    Do you have any open report that uses that data object?

Maybe you are looking for

  • I can't get my Dynamic PDF Widget to work in Captivate 7

    Hello all, I've been trying to get my Dynamic PDF to work in my Captivate 7 project. I have created a button on the final slide where I want the user to open the PDF, I have named it correctly to correspond with the Dynamic PDF. I have also updated e

  • Hyperion Shared Services user Management Guide

    Hi , Can any one share the Hyperion Shared Services User Management Guide. Regards naveen

  • Unreadable files in iphoto

    I downloaded ilife 08 and now I can't download pics. They come up ready to import but then it says can't download unreadable files. I didn't have this problem before 08 while downloading the same pics. I did not put 08 in my laptop and the pics downl

  • Playback not working in preview

    I recently migrated my old iMac to a new iMac 27. Everything works great except for Final Cut Pro X's playback in preview. When i load a clip into final cut, even clips that worked before i will try to preview the clip so i can select what part i wan

  • Report which would collect all users in STAD running an specific program

    Hi How could I make an report which would collect all users in STAD running an specific program daily. The issuse is that this program is not available in sm20. How could I then send this list to list of receipients? I have in mind to "submit "stad"