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>';
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
3 replies Latest Post - 2014-09-20T11:44:05Z by jitupkp
Pinned topic Ajax Loading Problem
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-03-22T08:09:35Z at 2012-03-22T08:09:35Z by zeronc
zeronc 2700056P1R1 Post