ident Posted September 26, 2009 Share Posted September 26, 2009 Hi, quick out line of what i am doing. A picture is displayed once uploaded then under it is a likn saying email $htmlimg = '<img src="'.$rawlink.'" />'; echo 'HTML for Websites:<br /><input name="html" style="width:300px;"type="text" value="'.htmlentities($htmlimg, ENT_QUOTES).'" /><br />'; this displays my image into a textbox adding html tags. I click the email link and we go to another page. <input type="hidden" name="rawlink" value="<?php echo $rawlink; ?>" /> The hiddne textbox is empty in the source. Onsubmit i use handleEmail.php and this is the code i use for the email message(not sure if this is right) $message = $_POST["msg"] $_POST["rawlink"] '[email protected]'; Link to comment https://forums.phpfreaks.com/topic/175595-cant-seem-to-keep-the-value-of-avarible-when-going-from-one-page-to-another/ Share on other sites More sharing options...
monkeytooth Posted September 26, 2009 Share Posted September 26, 2009 First question.. does it display the picture on page one? Link to comment https://forums.phpfreaks.com/topic/175595-cant-seem-to-keep-the-value-of-avarible-when-going-from-one-page-to-another/#findComment-925288 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.