Notice: Undefined index: coduserx in C:\Apache24\htdocs\test\ventas\pfacturadosvend.php on line 480

Fatal error: Uncaught PDOException: SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near '='. in C:\Apache24\htdocs\test\ventas\pfacturadosvend.php:345 Stack trace: #0 C:\Apache24\htdocs\test\ventas\pfacturadosvend.php(345): PDOStatement->execute() #1 C:\Apache24\htdocs\test\ventas\pfacturadosvend.php(481): getCodvend(NULL) #2 {main} thrown in C:\Apache24\htdocs\test\ventas\pfacturadosvend.php on line 345