guys I am trying to see if lookup works I made a file in public called stocks.php wrote this simply to dump the values I seem to be getting this Fatal error: Call to undefined function lookup() in /home/jharvard/vhosts/pset7/public/stocks.php on line 2
Why does the error say undefined function lookup()? isnt it defined in functions.php? I dont understand what the error is trying to tell me
<?php
//config
require("../includes/config.php");
$stock = lookup("GOOG");
dump($stock);
?>