My code to send data is :
echo "<form action='objectrelationship1.php' method='GET'>
<select name='object'><option value='empty' >Choose any Object</option>";
while (list($name) = mysql_fetch_row($result))
{
echo "<option value=$name>$name</option>";
}
echo "</select><br><br><input type='hidden' name='bool' value='1'>
<input type='submit' value='ok'></form>";
}
So all data I am reading from my database and sending
Receive Data code is:
$object=$_GET["object"];
echo $object;
It shoudl give me whole string but it cut sended string.