Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $dbHost = "localhost";
- $dbUser = "profilux";
- $dbPass = "xxx";
- $dbName = "profilux";
- $connect = @mysql_connect($dbHost, $dbUser, $dbPass) or die("Konnte keine Verbindung zum Datenbankserver aufbauen!");
- $selectDB = @mysql_select_db($dbName, $connect) or die("Konnte die Datenbank <b>$dbName</b> nicht auswählen!");
- $wert = "test";
- $sql = "INSERT INTO 'test' ('VALUES', 'id') VALUES ('$wert', '1');";
- $qry = mysql_query($sql);
- mysql_close($connect);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement