Hi can anyone help me with the following problem:
I am passing a string (300+ characters) to another php class. But the data is not being paseed I think it is because the string is large
e.g
// when the button is clicked the masterkey is used to pass
// the variable Name which holds a large string
?>
<a href="x.php" onClick = "document.forms.details.action=x.php';
document.forms.details.masterkey.value= '<?php echo $Name; ?>';
document.forms.details.submit();return false;">Edit</a>
<?php
echo '<form method="GET" action="" name="details">';
echo '<input type=hidden id=masterkey name=masterkey value="">';
echo '</form>';
The data is recived by the following code
$data = $_GET["masterkey"];
?><input type="text" readonly="readonly" maxlength="50"
name="DataName" value= '<?php echo $data; ?>' /><?php
The code does work for small names such as xxxxxxxx but when the name
is long such as 300+ characters it does not work.
CAN ANYONE HELP