Commit 8d63e000 authored by Nico Schallehn's avatar Nico Schallehn

$argv

parent 59db91a3
...@@ -7,7 +7,7 @@ $colors = new Colors(); ...@@ -7,7 +7,7 @@ $colors = new Colors();
//echo "md5: ".$colors->getColoredString("Erfolgreich!", "white", "green") .PHP_EOL; //echo "md5: ".$colors->getColoredString("Erfolgreich!", "white", "green") .PHP_EOL;
switch ($arg[1]){ switch ($argv[1]){
case "filme": case "filme":
echo $colors->getColoredString("Filme", "black", "white") .PHP_EOL; echo $colors->getColoredString("Filme", "black", "white") .PHP_EOL;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment