Image

Imagecarefreespirit wrote in Imagephp

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\addphysicianinfo.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','$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')";
$result = mssql_query($sql);
echo "
The Medical Staff Preference List for ".$name." has been added.

Back to Medical Staff Preference List";