I've been looking for a whole day of information.
Rookie in the rookie Ah, just into the company let's do the project AH
The simplest will not ah, Baidu has not found a way to a half-day
Want to ask now want to do a user Management module additions and deletions, what should be done?
Receive First, select * from user output how to output AH
Also, after each output, add a two button to modify the delete
Well, how do you do that? User Baidu The problem of adding and deleting
------Solution--------------------
I stick to the source code you refer to.
Session_Start ();
Include ' conn/conn.php ';
Include ' check_login.php ';
Include ' page.class.php ';
?>
<title>Change of hospital information</title>
123
Modify Hospital Information
Hospital name |
location |
Total demand |
whether sex |
demand male |
demand female |
action |
Action |
$sql = "SELECT * from Hos;"; $result = mysql_query ($sql) or Die (Mysql_error ()), $page =new page (mysql_num_rows ($result), and $sql = "SELECT * from Hos Order by ID {$page->limit} ", $result = mysql_query ($sql) or Die (Mysql_error ()); $info = Mysql_fetch_array ($result);d o { ?>
|
|
|
if ($info [' same ']) {echo "is";} Else{echo "No";}; ?>
|
if ($info [' same ']) {echo $info [' Men '];} else {echo "-";}? > |
if ($info [' same ']) {echo $info [' Wom '];} else {echo "-";}? > |
"> Change |
"Onclick=" return confirm (' Are you sure to delete it? ') ' > Delete |