Blonde moment????
Ok....maybe I am just being blonde again, but I am getting the error:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in E:\InetPub\SRMCIntranet\cactus\addphysic ianinfo.php on line 97
on the following code where line 97 is the $result line.
What in the world could be the cause of that???
$sql = "INSERT INTO MedStaffPrefList (provider_k, officenumber, homenumber, pager, fax, alternatephysician, careforpatients, emergencyadmit, emergencydischarge, comments, cardiology1, cardiology2, cardiology3, cardsurgery1, cardsurgery2, cardsurgery3, dermatology1, dermatology2, dermatology3, endocrinology1, endocrinology2, endocrinology3, ent1, ent2, ent3, gastroenterology1, gastroenterology2, gastroenterology3, gensurgery1, gensurgery2, gensurgery3, hematology1, hematology2, hematology3, infectious1, infectious2, infectious3, internalmed1, internalmed2, internalmed3, maxsurgery1, maxsurgery2, maxsurgery3, nephrology1, nephrology2, nephrology3, neurology1, neurology2, neurology3, neurosurgery1, neurosurgery2, neurosurgery3, obgyn1, obgyn2, obgyn3, ophthalmology1, ophthalmology2, ophthalmology3, orthopedics1, orthopedics2, orthopedics3, pediatrics1, pediatrics2, pediatrics3,
plasticsurg1, plasticsurg2, plasticsurg3, podiatry1, podiatry2, podiatry3, pulmonary1, pulmonary2, pulmonary3, psychiatry1, psychiatry2, psychiatry3, urology1, urology2, urology3, vascsurgery1, vascsurgery2, vascsurgery3, updated, updatedby) VALUES ('$provide_k','$officenumber','$homenumb er','$pager','$fax','$alternatephysician' ,'$careforpatients','$emergencyadmit','$e mergencydischarge','$comments','$cardiol ogy1','$cardiology2','$cardiology3','$ca rdsurgery1','$cardsurgery2','$cardsurger y3','$dermatology1','$dermatology2','$de rmatology3','$endocrinology1','$endocrin ology2','$endocrinology3','$ent1','$ent2' ,'$ent3','$gastroenterology1','$gastroen terology2','$gastroenterology3','$gensur gery1','$gensurgery2','$gensurgery3','$h ematology1','$hematology2','$hematology3' ,'$infectious1','$infectious2','$infecti ous3','$internalmed1','$internalmed2','$i nternalmed3','$maxsurgery1','$maxsurgery 2','$maxsurgery3','$nephrology1','$nephr ology2','$nephrology3','$neurology1','$n eurology2','$neurology3','$neurosurgery1' ,'$neurosurgery2','$neurosurgery3','$obg yn1','$obgyn2','$obgyn3','$ophthalmology 1','$ophthalmology2','$ophthalmology3',' $orthopedics1','$orthopedics2','$orthope dics3','$pediatrics1','$pediatrics2','$p ediatrics3','$plasticsurg1','$plasticsur g2','$plasticsurg3','$podiatry1','$podia try2','$podiatry3','$pulmonary1','$pulmo nary2','$pulmonary3','$psychiatry1','$ps ychiatry2','$psychiatry3','$urology1','$u rology2','$urology3','$vascsurgery1','$v ascsurgery2','$vascsurgery3','$updated', '$updatedby')";
$result = mssql_query($sql);
echo "The Medical Staff Preference List for ".$name." has been added.
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in E:\InetPub\SRMCIntranet\cactus\addphysic
on the following code where line 97 is the $result line.
What in the world could be the cause of that???
$sql = "INSERT INTO MedStaffPrefList (provider_k, officenumber, homenumber, pager, fax, alternatephysician, careforpatients, emergencyadmit, emergencydischarge, comments, cardiology1, cardiology2, cardiology3, cardsurgery1, cardsurgery2, cardsurgery3, dermatology1, dermatology2, dermatology3, endocrinology1, endocrinology2, endocrinology3, ent1, ent2, ent3, gastroenterology1, gastroenterology2, gastroenterology3, gensurgery1, gensurgery2, gensurgery3, hematology1, hematology2, hematology3, infectious1, infectious2, infectious3, internalmed1, internalmed2, internalmed3, maxsurgery1, maxsurgery2, maxsurgery3, nephrology1, nephrology2, nephrology3, neurology1, neurology2, neurology3, neurosurgery1, neurosurgery2, neurosurgery3, obgyn1, obgyn2, obgyn3, ophthalmology1, ophthalmology2, ophthalmology3, orthopedics1, orthopedics2, orthopedics3, pediatrics1, pediatrics2, pediatrics3,
plasticsurg1, plasticsurg2, plasticsurg3, podiatry1, podiatry2, podiatry3, pulmonary1, pulmonary2, pulmonary3, psychiatry1, psychiatry2, psychiatry3, urology1, urology2, urology3, vascsurgery1, vascsurgery2, vascsurgery3, updated, updatedby) VALUES ('$provide_k','$officenumber','$homenumb
$result = mssql_query($sql);
echo "
