// connection to the database $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer");
// select a database to work with $selected = mssql_select_db($myDB, $dbhandle) or die("Couldn't open database $myDB");
$res = mssql_query("UPDATE StaffLeftCompany SET MakecopyMailDB='".$_POST[Lotus]."',AS400='".$_POST[AS400]."',NewEmployee='".$_POST[PC]."',DateOfBossUpdate='".date("d.m.Y")."' WHERE SecurityCode='".$_GET['id']."'");
// close the connection mssql_close($dbhandle); ?>
Hvis jeg bruger denne: echo "UPDATE StaffLeftCompany SET MakecopyMailDB='".$_POST[Lotus]."',AS400='".$_POST[AS400]."',NewEmployee='".$_POST[PC]."',DateOfBossUpdate='".date("d.m.Y")."' WHERE SecurityCode='".$_GET['id']."'";
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.