Jump to content

dtommy79

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by dtommy79

  1. Hi,

     

    I'm trying to add php code into my URL. I have the following code:

    <div class="btn-group" style="padding-left: 20px;" role="group">
        <a href="<?php echo $_SERVER['HTTP_HOST']; ?>/09php/html_forms.php"><button type="button" class="btn btn-default">Go back to the form</button></a>
        </div>
    

    The link should take me to: http://localhost:8080/09php/html_forms.php

     

    The URL is correct, but the browser cannot access it.

     

    What am I doing wrong?

     

    Thanks

×
×
  • Create New...