Click to See Complete Forum and Search --> : PHP help


cscartman
02-27-2003, 01:33 PM
im makeing a script thats 2 files with a form for the first file i have it included in a zip its supposed to be a link gen. to help ppl make them fast i have made one form part though im just makeing it now it has a parse error on line 9 in file results someone that knows php please help out here its greatly helpful

pyro
02-27-2003, 02:38 PM
Change results.php to something more like this:

<html>
<head>
<title>Results</title>
</head>
<body>

<a href="<?PHP print $q1; ?>"><?php print $q1; ?></a><br>

<?php $link1 ="<a href='$q1'>$q1</a>" ?>

<input type="text" value="<?PHP print $link1; ?>">

</b>
</body>

</html>

cscartman
02-27-2003, 03:03 PM
That works thanx i just couldnt find the error or anything but i see from what u put were i messed up at now i can finish what i was doing thanx to you!