parse error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
m2babaey
Forum Contributor
Posts: 364
Joined: Sun May 20, 2007 9:26 am

parse error

Post 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
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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;
?>
Post Reply