Posted by J.O. Aho on 12/14/06 18:55
cerberus wrote:
> I've gone through the form and php, and found that the id is passed on
> when you click delete from the blog. but the id is NOT passed to the
> "are you sure you want to delete" submit button.
You need to add the id to the form that the submit button belongs to
I assume you have fetched the id and stored it in the $id variable, ad the
following to the form
<input type="hidden" name="id" value="<?php echo $id; ?>">
I know that the php-tag can be made smaller, but just had the bad habbit to
type the long tag instead.
--
//Aho
Navigation:
[Reply to this message]
|