|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
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
|
|||
|
|||
|
EWP post data to another page
Hi,
My codes like that: ---edit.php--- ... <form action="update.php" method="post" enctype="multipart/form-data" name="viewpersonhtm"> <? if ($isTrue){ $ewpBox1->SetValue($htmText); $ewpBox1->ShowControl(730, 300, "ewp/$sid/$id"); }else{ $ewpBox1->SetValue("<b>Enter your text in our fabulous self start homepage... </b>"); $ewpBox1->ShowControl(730, 300, "ewp/$sid/$id"); } $editedHtm = $ewpBox1->GetValue(); ?> <input type="submit" name="update" value="Update HTML Text"> <input type='hidden' name='haveHtm' value="<?echo $isTrue?>"> <input type="hidden" name="htmText" value="<?echo $editedHtm?>"> </form> ... //END --update.php-- <? echo $htmText." htmText here <BR>"; ?> //END After i click "Update HTML Text" button, the form post to update.php, but the data "htmText" dose not be passed to Update.php page. How can i post $ewpBox1->GetValue() to another page? Thanks, Ricahrd Last edited by RichardZ : August 13th, 2002 at 10:24 PM. |
|
#2
|
|||
|
|||
|
on your update page, do this
<?php echo $ewpBox1->GetValue(); ?> That should echo the data, you just entered in the editor Hope this helps Regards Ben Rowe |
|
#3
|
|||
|
|||
|
Thanks, it works.
Ricahrd |
|
#4
|
|||
|
|||
|
glad to help
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > EWP post data to another page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|