LostAngel Posted December 3, 2008 Share Posted December 3, 2008 Hey all, i'm getting the following error on the following line of code: error: Parse error, unexpected T_STRING, expecting ',' or ';' Code: <td><a href="confirmDelete.phprecordID=<?php echo $row_ recordsetName ['ID'];">Delete</a></td> Whats causing it? Quote Link to comment Share on other sites More sharing options...
awpti Posted December 3, 2008 Share Posted December 3, 2008 If that paste is correct, your spacing is all sorts of screwed up. And that doublequote is in the wrong place. Where's your closing PHP tag? Quote Link to comment Share on other sites More sharing options...
.josh Posted December 3, 2008 Share Posted December 3, 2008 His spacing is fine. the quotes are around his href link. He just forgot to close his php tag. edit: erm..okay his spacing is not fine. Take out the space after the _ Quote Link to comment Share on other sites More sharing options...
LostAngel Posted December 3, 2008 Author Share Posted December 3, 2008 Where should it be closed? Sorry, this is the correct line of code: <td><a href="confirmDelete.php?recordID=<?php echo $row_ rsRecords [' ID '];">Delete</a></td> Quote Link to comment Share on other sites More sharing options...
.josh Posted December 3, 2008 Share Posted December 3, 2008 <td><a href="confirmDelete.php?recordID=<?php echo $row_rsRecords['ID']; ?>">Delete</a></td> Quote Link to comment Share on other sites More sharing options...
darkfreaks Posted December 3, 2008 Share Posted December 3, 2008 <td><a href="confirmDelete.phprecordID=<?php echo $row_recordsetName['ID'];?>">Delete</a></td> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.