Hey Guys, I am working on a system that allows a user to select a reviewer to look at the document he made. I would like to ask if it is possible to send a prompt to another page without redirecting it to it. What I mean is there would only be a prompt or alert displayed saying "you have a document to review". Once the chosen reviewer logs-in the system.
Here is my code
------------------------------------simplesender.html----------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<form action="simplesender.php" method="post">
<td><strong>Choose Reviewer:</strong></td>
<td><label>
<select name="reviewerdropdown" >
<option value="divisionchief">Division Chief</option>
<option value="departmentdirector">Department Director</option>
</select>
<input type="submit" value="submit" />
</label></td>
</form>
</body>
</html>
---------------------------simplesender.php--------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<?php
$selectedreviewer=$_POST['reviewerdropdown'];
if($depdir==divisionchief)
else if($selectedreviewer==departmentdirector)
{
?>
<body>
</body>
</html>
my dillema is i dont know how to display the alert to divisionchief.html/divisionchief.php or to the other reviewer pages for that matter.
Thanks for your time and effort.
Sending prompt to another php webpage
Moderator: General Moderators
-
fireflight
- Forum Newbie
- Posts: 1
- Joined: Fri Nov 12, 2010 7:14 pm