Does anyboby know how to put together a user profile edit script.
I inserted the below code. It doesn't actually update the database though. I think I'm missing a piece.
www.realestatenetfind.com/edit_ownersignup.phps
www.realestatenetfind.com/edit_ownersignup_insert.phps
The Journey of a Thousand Miles Begins with the First Step...
I inserted the below code. It doesn't actually update the database though. I think I'm missing a piece.
PHP:
:
mysql_select_db('realest1_proppost');
$query2 = "UPDATE customerindex SET cfirstname='$cfirstname', clastname='$clastname', cmidinitial='$cmidinitial', cstaddress='$cstaddress', cunitnum='$cunitnum', ccity='$ccity', czip='$czip', cphone='$cphone', cfax='$cfax', cemail='$cemail' WHERE login='$login', $db";
$result2 = mysql_query($query2);
if ($result2)
echo '<span class=p2><b>Profile Successful</b></span><br /><br />';
echo '<span class=psparkblu12><b>';
echo $myrow["login"];
echo '</b> You have successful updated your user profile for your property posting account</span><br /><br />';
echo '<a class=pmidblu href="proppost_controlpanel.php">Click here to return to Property Post Control Panel</br></a>';
www.realestatenetfind.com/edit_ownersignup.phps
www.realestatenetfind.com/edit_ownersignup_insert.phps
The Journey of a Thousand Miles Begins with the First Step...