This has been driving me nuts for quite some time now so I can no longer troubleshoot it without swearing...which would be fine, if I wasn't at work.
The Problem: Any time I access this page, I get a parse error - expecting 'T_STRING' or 'T_VARIABLE' or T_NUM_STRING'
I'm sure I'm just over-looking something silly, but any help you could offer would save me a lot of explaining concerning my behavior.
-Thanks
The Code:
$sql = "select GroupAccounts.groupid, GroupAccounts.account FROM GroupAccounts";
$result = mssql_query($sql, $db);
$myrow = mssql_fetch_array($result);
if($strSubmit == "Insert"){
while($myrow=mssql_fetch_array($result)){
$strPathfull = $strPath . $myrow["account"]; $strPathfull = $strPathfull . ".pdf";
mssql_query("INSERT into doctest (groupid, account, filename, grouping, listorder, description) VALUES ($myrow["groupid"], $myrow["account"], $strPathfull, $strGrpID, $strOrdID)");
}
exit;
}