Page 1 of 1

parse error

Posted: Fri Aug 10, 2007 5:14 am
by m2babaey
Hi
do you know where i am wrong in the line below:

Code: Select all

<form method="GET" action="<?php echo search.php?searchid=$searchid&publisher=$publisher; ?>">
that sends this error:
Parse error: parse error in g:\programs new\easyphp\www\adcenter\test.php on line 15 :?
thanks

Posted: Fri Aug 10, 2007 5:50 am
by volka
Might be more obvious if you take a look at the php part alone

Code: Select all

<?php
echo search.php?searchid=$searchid&publisher=$publisher;
?>