OK, I understand what you're trying to accomplish now. Dreamweaver is still a good solution for generating the forms. A lot of people create two files. The first contains the form and the second contains a majority of the PHP code. You still end up with a little PHP in the form, specifically, PHP that echo's field values. Like this:
<input type="text" name="First_Name" value="<?php echo $record["First_Name"];?>"> The PHP script gets called and checks to see if the form has been posted. If it has, store the record and redisplay. Otherwise, load the record and display the form. Make sense? -Ed > -----Original Message----- > From: Vinayakam Murugan [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 7:46 AM > To: Ed Lazor > Subject: Re: [PHP] Dreamweaver & PHP > > On Friday 06 Aug 2004 8:00 pm, you wrote: > > > Our site involves a lot of forms which our designer has churned out > of > > > Dreamweaver. Now my task is to present the data in those forms after > > > retrieving it from MySql. > > > > > > This takes up a lot of time and is error-prone too. > > > > Why do you say this? > > Our current process is that the designer gives me static HTML generated > through Dreamweaver and I sift through it manually and make changes so > that > the data is displayed from the database. > > > > Is there any better way of doing it? > > > > It depends on what you're trying to accomplish. For example, I first > > wondered why you're dumping the data back into the forms. Are you > trying > > to edit the data with these forms? > > Yes, the screens are for maintenance of data. > > > > Can Dreamweaver be used completely for > > > PHP-MySQL applications? > > > > Yes. However... It sounds like there may be some confusion. You're > asking > > if there is a way to eliminate using forms. I'm assuming you're talking > > about HTML forms - aka <form></form>. If that's the case, forms are > part > > of HTML, which is entirely separate from PHP. If you want a form, you > use > > HTML. PHP is used to generate HTML. > > Yes, I am talking about HTML forms but I am trying to use them to > manipulate a > MySql database. > > Hope that helps. Otherwise, clarify what you're trying to accomplish > and > > I'll try to help further. > > Thanks a lot for your reply. I hope I am clear in my question now. > > > > -Ed > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php