<h2>YahooFinanceQuery Example</h2> <hr /> <!-- symbolSuggest($string); --> <div> <h4>function symbolSuggest($string);</h4> <p>Search for "basf"</p> <form method="post" action=""> <input type="text" name="string" value="basf" placeholder="basf"/> <input type="submit" name="searchSymbol" value="Search" /> </form> <?php if (isset($_POST['searchSymbol'])) { $data = $query->symbolSuggest($_POST['string'])->get(); ?> <table> <thead> <th>Symbol</th> <th>Name</th> <th>Exchange</th> <th>Exchange Display</th> <th>Type</th> <th>Type Display</th> </thead> <tbody> <?php foreach ($data as $dataEntry) { ?> <tr>