Jump to content

PHP Amend


ajcarr1989

Recommended Posts

Ok. I've attatched a few files of how the pattern goes. 

I think I was told you need two managermessages for the amend,.

The amend at the moment, brings up the form but then in the add form if you type anything and submit, it just adds a new article. i'm guessing you need a seperate edit form.  but how do you put the message into the text box so that when you edit it saves and displays the new message while storing the old one.

 

I've attatched the add,delete and amend commands plus the add form.  if anyone can come up with a solution i'd be really greatful.  the add form is in views/add_form.php and iv made a duplicate of the file in the same folder called edit_form.php.

 

Thanks :)

 

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/219789-php-amend/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.