Jump to content


This topic is now archived and is closed to further replies.

Guest kilbad

Help with one step of outside tutorial...

Recommended Posts

Guest kilbad
I have been doing this tutorial at freewebmasterhelp.com.  However, while I understand the logic of the seventh tutorial page (http://www.freewebmasterhelp.com/tutorials/phpmysql/7), I am getting errors when I write up the scripts it describes.

Could someone help me... specifically, I need the full code to the couple of scripts described on that page (for Updating & Deleting database entries)?  I just cannot seem to get them right like I did pages 1-6.  ???

Regardless, thank you for your time and consideration!


Share this post

Link to post
Share on other sites
Guest kilbad


$query=" SELECT * FROM contacts WHERE id='$id'";

while ($i < $num) {

<form action="updated.php" method="post">
<input type="hidden" name="ud_id" value="<? echo $id; ?>">
First Name: <input type="text" name="ud_first" value="<? echo $first; ?>"><br>
Last Name: <input type="text" name="ud_last" value="<? echo $last; ?>"><br>
Phone Number: <input type="text" name="ud_phone" value="<? echo $phone; ?>"><br>
Mobile Number: <input type="text" name="ud_mobile" value="<? echo $mobile; ?>"><br>
Fax Number: <input type="text" name="ud_fax" value="<? echo $fax; ?>"><br>
E-mail Address: <input type="text" name="ud_email" value="<? echo $email; ?>"><br>
Web Address: <input type="text" name="ud_web" value="<? echo $web; ?>"><br>
<input type="Submit" value="Update">




Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.