General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
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  
Old August 13th, 2002, 10:15 PM
RichardZ RichardZ is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 7 RichardZ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 57 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old August 13th, 2002, 10:41 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #3  
Old August 13th, 2002, 10:50 PM
RichardZ RichardZ is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 7 RichardZ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 57 sec
Reputation Power: 0
Thanks, it works.

Ricahrd

Reply With Quote
  #4  
Old August 13th, 2002, 11:56 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
glad to help

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > EWP post data to another page


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway