This page has been awesome in helping me out and this newbie is going to need a bit more help. It says i've got a parse error hiding somewhere and i'm not too sure where it is.
I'm trying to create a personal profile update page. Here's my coding:
function updateinfo($CFirstName, $CLastName, $CPassword);
{
global $link;
$query = "UPDATE clients SET CFirstName='$CFirstName', CLastName='$CLastName' WHERE CUserName='$CUserName'";
$result = mysql_query($query,$link);
if(!$result)
die ("Update failed: ".mysql_error());
}
$answer = updateinfo($CFirstName, $CLastName, $CPasword);
Thanks,
Mark