Currently I have an html form where users can enter an address string.
For example, if they enter "74 Egan Drive" in the text box, it will take them to the following URL:
http://example.com/Edit_Address.php?address=74+Egan+Drive
I am trying to use PHP to grab the address and put it inside a form with $_GET['address']
, such as:
Echo "<label>Street Address</label><input name=\"address\" type=\"text\" value= ".$_GET['address']."><br>";
But inside the text box, only the number 74 shows up, and not the full address.
What am I doing wrong here?