DallasTrueNFCChamps
New Member
i'm trying to pass parameter with a html form in php, i have a php page that fill a html table:\[code\]$html = '';$html .= '<form id="form1" action="search.php" method="post">';$html .= '<tr>';$html .= '<td>id</td>';$html .= '<td><a href="javascript:;"onclick="document.getElementById(\'form1\').submit();">name</a></td>';$html .= '<td>surname</td>';$html .= '<td>language_id</td>';$html .= '<td><span class="label label-success">Status_code</span></td>';$html .= '</tr>';$html .= '<input type="hidden" name="mess" value=http://stackoverflow.com/'Hello\'>';$html .= '</form>';\[/code\]i can see in my html the table, when i click on the href, the search.php page it's open, but i can't see the 'Hello' value, this is the search.php:\[code\]<?php$name0 = $_POST['mess'];echo $name0;?>\[/code\]what is wrong?