Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // configuration
- require("../includes/config.php");
- // render form
- render("quotes_form.php", ["title" => "Quotes"]);
- if($_SERVER["REQUEST_METHOD"] == "POST"){
- $quotes= lookup($_POST["symbol"]);
- if($quotes==false){
- apologize("You have to enter a valid symbol");
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement