The following code succesfully refreshes the #content div, but in doing so it clear the $name variable which is passed from a previous page. How can I reload the div without losing my variable? The following is the code in "thispage.php". Any help would be appreciated!
$name = $_POST;
echo '<div id="content">';
$ad= mysql_one_data("SELECT ad FROM tab1 WHERE name = '$name'");
echo 'Address ' .$ad. ' <br>';
The developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this community and its apps will no longer be available. More details available on our FAQ.