Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'
this line error is coming in php code

echo "<td align="right"><a href='edit.php'>Edit/&nbsp;</a>&nbsp;<input type="delete" name="delete"></td>";

Recommended Answers

All 3 Replies

Read http://in2.php.net/types.string

You have to either escape " or use '.
Eg. echo "this will "throw" an error"; The above sentence will cause an error. When it encounters " before throw, it will consider it the end of the statement.
So, instead, you can use, echo "this will 'throw' an error"; or echo "this will \"throw\" an error"; I hope thats clear. I also think now you can now solve your problem ! :)

thanks nav33n solved my problem...

Cool :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.