does anyone here know how to insert form contents accomplished by a user to a database.., i have a code but it doesnt seem to work.. :confused:...
here's my code ... it's in jstl but if there is a easier alternative then just spill it out
<sql:update dataSource="${orders}" var="updatedTable" >
INSERT INTO orders(id,name,address,phone,custorder) VALUES (?, ?, ?, ?, ?)
<sql:param value="${NULL}" />
<sql:param value="${param.name}" />
<sql:param value="${param.address}" />
<sql:param value="${param.phone}" />
<sql:param value="${param.orders}" />
</sql:update>