i've been messing around with the code this is what i have come up with so far
<!-- PHP Processor -->
<?php
$WOnumber = check_input($_POST['WOnumber']);
?><html>
<body>Please click the link below to view the progress of your repair<br>
<br>
<a href="http://www.mysite.com/<?php echo $WOnumber; .htm><br />
<br />
</body>
</html>
<!-- Form code -->
<html>
<body>
<form action="http://www.my-php-server/test.php" method="post">
<p>Workorder #: <input type="text" name="WOnumber" /><br />
<p><input type="submit" value="Submit"></p>
</form></body>
</html>
<!-- Error i keep getting -->
Parse error: syntax error, unexpected '.' in /mnt/Web/test.php on line 7
Well i kept messin with it and i got it to do this
Please click the link to see progress [mysite.com...]
THANKS SOOOOOO MUCH YOU JUST SAVED MY JOB
if you ever need any computer help just contact me and i will help in any way i can
my e-mail address is help@elliscomputerdesign.com
<!-- This was the final code i used -->
PHP Processor
<?php
$workorder = check_input($_POST['workorder']);
?>
<html>
<body>Please click the link to see progress [mysite.com...] echo $workorder; ?>.htm<br />
</body>
</html>
<?php
function check_input($data)
{
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
return $data;
}
?>
HTML Form
<form action="http://www.mt-php-server/test.php" method="post">
<p>Please enter Workorder number<input type="text" name="workorder" /><br>
<p><input type="submit" value="Send it!"></p>
</form>