Hi all,
OK so I'm sure this is really simple, but I can't see the issue with my code; all I'm trying to do is build a URL from a form text action. Simply echo'ing the $URL variable back produces the correct URL, however when trying to include the variable in the form action, it does not include the $PatNumber
As way of background, I'm an Intellectual Property analyst looking to make my life easier on patent\trademark searches; the EPO has an online REST service (which I'm also learning about) for searching Patents, so I'm trying to build a form where I can enter a patent number and retrieve the back bibliographic data.
<?php
$PatNumber = $_GET['EPOPN'];
$URL = "http://ops.epo.org/2...tNumber}/Biblio";
echo $URL;
?>
<html>
<body>
<form action="<?php echo $URL?>" method="GET">
Patent Number (EPO Format) <input type="text" name="EPOPN" />
<input type="submit" />
</form>
</body>
</html>