Thanks.....that works fine for another page I'm doing where there is no deleting etc but how do i delete a certain item
I have tried this
- PHP: Select all
echo("<input style=\"border:none;\" type=\"radio\" name=\"loc\" onClick=\"go(\'deletenews.php?id=<? echo $code[id]; ?>\');\">".$code->title."<BR>");
and it reports T_BAD_CHARACTER.
Is it to do with the
\'deletenews.php?id=<? echo $code[\'id\']; ?>\' bit? if so how do i replace it correctly?
Many thanks for helping me sort this problem