This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>MySQL Database</title> | |
</head> | |
<body> | |
<?php | |
$user = 'root'; | |
$password = 'root'; | |
$db = 'sql_injection'; | |
$host = 'localhost'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# STUDENT: Henrique Carvalho | |
# | |
# lyrical.rb is your first assignment. It takes a song's input and lets you | |
# see how many times a word occurs in the song. | |
# | |
# Save this file as lyrical.rb. Edit it with your text editor and run the tests | |
# in Terminal. The command to run the tests is: | |
# | |
# ruby lyrical.rb |