12 lines
284 B
Plaintext
12 lines
284 B
Plaintext
|
<?php
|
||
|
$dbconnect = mysqli_connect("localhost","rocky","onyx");
|
||
|
if (!$dbconnect)
|
||
|
{
|
||
|
die('Could not connect: ' . mysqli_error());
|
||
|
}
|
||
|
mysqli_select_db($dbconnect, "obsidiancore");
|
||
|
mysqli_query($dbconnect, "INSERT INTO tests (name)
|
||
|
VALUES ('sqltest')");
|
||
|
mysqli_close($dbconnect);
|
||
|
?>
|