Jump to content

Can't seem to keep the value of avarible when going from one page to another


ident

Recommended Posts

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]';

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.