Page 1 of 1

MyRow problems

Posted: Tue Sep 14, 2010 8:15 pm
by ScottCFR
I'm not sure how to do this, but I'm sure I'm not doing it right.

I want it so when I click "Delete" it goes to delete.php with that number. As in: delete.php?=12

Code: Select all

<td height=30 align='left'>";echo $myrow['title']; echo" echo "<a href='delete.php?=$myrow['ID'];'<br />Delete</a>";</td>
Thanks,
Scott

Re: MyRow problems

Posted: Tue Sep 14, 2010 8:19 pm
by josh
; echo" echo "

?? This part is invalid. I don't get what you want us to tell you though?

Re: MyRow problems

Posted: Tue Sep 14, 2010 8:25 pm
by ScottCFR
Well, that is what I said. Could you help me?

Re: MyRow problems

Posted: Tue Sep 14, 2010 10:37 pm
by josh
Try replacing

Code: Select all

; echo" echo "
with

Code: Select all

; echo "

Re: MyRow problems

Posted: Wed Sep 15, 2010 12:51 am
by PradeepKr
Replace that line with this

Code: Select all

<td height=30 align='left'>
echo $myrow['title']; 
echo '<a href="delete.php?='.$myrow['ID'].' ">Delete</a>';
</td>