| View previous topic :: View next topic |
| Author |
Message |
NewNet
Joined: 24 Aug 2009 Posts: 38
|
Posted: Fri Sep 18, 2009 7:50 am Post subject: question on NetBean ajax tutorials |
|
|
Hi all,
I try the ajax Php example on NetBean, but the composerView.php did not display the variable, I just wonder
1) why the value did not passt to other page??
| Code: | // if user chooses from pop-up box
if(isset($_GET['action']) && isset($_GET['id']) ) {
foreach($composers as $composer) {
if($composer->id == $_GET['id']) {
session_register("id");
session_register ("firstName");
session_register ("lastName");
session_register ("category");
$_SESSION_VARS ["id"] = $composer->id;
$_SESSION_VARS ["firstName"] = $composer->firstName;
$HTTP_SESSION_VARS ["lastName"] = $composer->lastName;
$HTTP_SESSION_VARS ["category"] = $composer->category;
header("Location: composerView.php");
}
}
} | [/code] |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|