From: Tom Chubb [mailto:[EMAIL PROTECTED]

> I am trying to design a form that posts the data to a DB, but being new
> to PHP/MySQL, it takes me ages to hand write the code and I'm sure there
> must be an easier way to do it? 

A couple things you can try:

Dreamweaver MX 2004 is very capable of doing simple DB interactions
like the one you're describing. If your form fields are named the same
as your DB fields, a click of the button and DW will match them up for
you and generate the insert statement. There's a little more to it, in
the set up of your development environment, but this is the jist of
it.

Another thing you can try is, breaking your form up into smaller
pages, for more of a 'wizard' interface to the form. This might
actually take longer to code, but on the flip side is, greater
usability for your users, and dealing with the form in more managable
chunks, than it is working with a 1000 line file.

---
eric marden
http://xentek.net
---

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to