PHP 5 Flashcards
1
Q
what does:
echo PHP_EOL;
do?
A
Creates a new line.
2
Q
z $db = mysqli_connect('localhost','root','root','database_name') or die('Error connecting to MySQL server.');
what does this code do?
A
Connects to a mySQLi database.