von anfang an...
Sooo....danke einmal für die Antworten die ihr mir schon geschrieben habt.... bin leider trozdem nicht weitergekommen!!!!!!!
Hier nochmal meine Angaben...vieleicht findet sich irgendjemand der das schnell runtertipppen könnte!?!?!?!
Meine constant.php:
<?php
define('MSSQL_HOST', 'localhost');
define('MSSQL_USER', 'mentasti');
define('MSSQL_PASS', '123');
define('MSSQL_DATABASE', 'login');
?>
Mein addentry.php:
<?php
include "constant.php";
$connection = @mssql_connect($Server, $User, $Pass) OR die("No connection to Server");
@mssql_select_db($DB) OR die("Couldn´t select Database");
$data = " INSERT INTO login
(name, password)
VALUES
('$_POST[name]',
'$_POST[password]')
";
$result = mssql_query($data);
header ("Location: connectionTest.php");
?>
Bitte helft mir!!!
Irgendwo muss ein Fehler sein....vieleicht bei den Serverbefehlen!?!??
Danke!!
cssFreak
____________________________________
xhtml 1.0 strict
|