> ----- Original Message -----
> From: pratimadongare
> To: [email protected]
> Sent: Wednesday, January 16, 2008 2:22 AM
> Subject: {Disarmed} [php_mysql] html tables in php
>
> echo "<td> <form name="acceptform" method="post"
> action="acceptrequest2.php">";
> echo "<input type="checkbox" name="selected">
> </td>";
> error in the highlighted line is
>
> Parse error: parse error, unexpected T_STRING,
> expecting ',' or ';' in
> d:\Inetpub\wwwroot\sakec\acceptrequest1.php on
> line 34
>
> where r we going wrong?
When you use quotation marks within the string to be
echoed, you must "escape" them, or PHP thinks that is
where the string is supposed to end and it expects the
semi-colon line terminator after it.
Try changing this:
echo "<td> <form name="acceptform" method="post"
action="acceptrequest2.php">";
to this:
echo "<td> <form name=\"acceptform\" method=\"post\"
action=\"acceptrequest2.php\">";
(and do the same with the line after it...)
and see if that doesn't take care of the problem.
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs