I am using a mySQL database and PHP5 and Dreamweaver.
The date is contained in the following table:
ID Title Content
1 Title1 Content1
2 Title2 Content2
...etc
I have a file "content.php" in which the relevant content is displayed. The code thats links the menu to the page is "content.php?id=1", "content.php?id=2", etc. The content is displayed using "<?php echo $row_rscontent['content']; ?>".
The files are listed on a page called "list.php". The code on this page that links to the editor page is "<a href="edit.php?id=<?php echo $row_rscontent['id']; ?>">Edit</a>". I am trying to get the editor page with FCKeditor to load the relevant content. How do I do this and save to the relevant database record, please?
Thank you!
The date is contained in the following table:
ID Title Content
1 Title1 Content1
2 Title2 Content2
...etc
I have a file "content.php" in which the relevant content is displayed. The code thats links the menu to the page is "content.php?id=1", "content.php?id=2", etc. The content is displayed using "<?php echo $row_rscontent['content']; ?>".
The files are listed on a page called "list.php". The code on this page that links to the editor page is "<a href="edit.php?id=<?php echo $row_rscontent['id']; ?>">Edit</a>". I am trying to get the editor page with FCKeditor to load the relevant content. How do I do this and save to the relevant database record, please?
Thank you!
Re: Load content from and save content to database using php
In the head,
In your form,
I am unsure if the variable is 100% required to display the data from your database without it giving you the error, however there is no documentation that I could find relating to this issue and the forums are pretty much dead. If you have any HTML display errors post here, and I can give you the settings that need to be altered.
Re: Load content from and save content to database using php
Re: Load content from and save content to database using php