with that statement end i get this error.
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in d:\inetpub2\organizations\dsp\includes\newinformation.php on line 70
the statement reads like this:
$sql = "UPDATE brothers SET fname = '$fname', lname = '$lname', aim = '$aim', major = '$major', major2 = '$major2', minor = '$minor', minor2 = '$minor2',
minor3 = '$minor4', email = '$email', number = '$number', pledgeclass = '$pledgeclass', password = '$password', phone = '$phone', address = '$address',
city = '$city', state = '$state', zip = '$zip', birthdate = '$birthdate', bigbrother = '$bigbrother', littlebro = '$littlebro', little2 = '$little2',
little3 = '$little3', little4 = '$little4', status = '$status' WHERE brother_id = '$_SESSION['brother_id']';
in this case the statement never really ends. You have to have the double quotes somewhere.
so i tried this
WHERE brother_id = '$_SESSION['brother_id']'";
that gives me the same error. I'm not sure what to do about it. Please help me get the syntax straightened out. Or point me to somewhere that may help.