|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
DHTML Editor
Hello,
I am working with the DHTML Editor to write to a database. I am able to create new entrys without a problem. Now I am looking for a way to be able to edit an exsisting document in the DHTML editor. Is there a tutorial or anything that someone knows of that will show me how to load content into the body of the editor to be edited? Thanks! |
|
#2
|
|||
|
|||
|
Hi,
I assume that you're working with an iFrame? THe easiest way is to do something like this: <iframe src="getdata.php?documentId=10"></iframe> Then create a page getdata.php and assuming that you've got a MySQL database setup, just use a SELECT * FROM documents where documentId = $documentId And then just echo the content out, and it will work fine... If you're using a DIV or some other tag, just let me know. You can also load it using JavaScript, but it's a bit trickier. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > DHTML Editor |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|