Alhamdulillah all task successful done. I would like to share how to Add, Update, Delete and Search Record when working with PHP and Dreamweaver CS3.
Search Record
- create file find.php (for search) and find2.php(for result searching).
- Insert form (Insert > Form > Form)
- Insert textfield in the same form (Insert > Form > Textfield > OK). Change properties textfield-->studname.
- Insert submit button also in the same form (Insert > Form > Button > OK).
- Click the existing form that we have create. Go to the bottom layout <body><form#form1><label>.
- Click <form#form1>. type find2.php at Action in form properties.
- Save
step to set up find.php |
find2.php
- open file search2.php. create recordset. (server behaviors >+> recordset)
- As usual set the database connection. Filter the passing variable as shown figure.
- Insert form then table.
- Bind the recordset into table using drag and drop.
- Select 2nd row of table then set repeat region.(server behavior >+>repeat region)
- Save and run.
step to set up find2.php |
where is the link?
ReplyDeleteSorry Ako, this is another link : http://www.slideshare.net/hailiz/tutorial-php-and-dreamweaver-cs3
ReplyDelete