1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
| php
[paragraaf] [/indent] mysql_connect („localhost“, „opleidend“,“ ****** „) of matrijs (mysql_error ()); [paragraaf] [/indent] mysql_select_db („training_users“) of matrijs (mysql_error ());
[paragraaf] [/indent] $data = mysql_query („SELECTEER * UIT gebruikers“) of matrijs (mysql_error ());
[paragraaf] [/indent] Druk „ “;
[paragraaf] [/indent] terwijl ($info = mysql_fetch_array ($data))
[paragraaf] [/indent] {
[paragraaf] [/indent] [paragraaf] [/indent] Druk „“;
[paragraaf] [/indent] [paragraaf] [/indent] Druk „Username: | “. $info [„gebruikersbenaming“]. „ | “;
[paragraaf] [/indent] [paragraaf] [/indent] Druk „Password: | “. $info [„wachtwoord“]. „ | “;
[paragraaf] [/indent] [paragraaf] [/indent " Update | “] van de Druk „;
[paragraaf] [/indent]}
[paragraaf] [/indent] Druk „ “; [code]
[B] view_user.php [/b]
[code]
php
[paragraaf] [/indent] $id=$_GET [„identiteitskaart“];
[paragraaf] [/indent] $username= die " opleiden ";
[paragraaf] [/indent] $password= " ****** „;
[paragraaf] [/indent] $database= " training_users ";
[paragraaf] [/indent] mysql_connect (localhost, $username, $password);
[paragraaf] [/indent] $query= " SELECTEREN * UIT gebruikers WAAR identiteitskaart = „$id““;
[paragraaf] [/indent] $result=mysql_query ($query);
[paragraaf] [/indent] $num=mysql_num_rows ($result);
[paragraaf] [/indent] $i=0;
[paragraaf] [/indent] terwijl ($i < $num)
[paragraaf] [/indent] {
[paragraaf] [/indent] [paragraaf] [/indent] $first=mysql_result ($result, $i, „identiteitskaart“);
[paragraaf] [/indent] [paragraaf] [/indent] $last=mysql_result ($result, $i, „gebruikersbenaming“);
[paragraaf] [/indent] [paragraaf] [/indent] $last=mysql_result ($result, $i, „wachtwoord“);
[paragraaf] [/indent] [paragraaf] [/indent] $phone=mysql_result ($result, $i, „titel“);
[paragraaf] [/indent] [paragraaf] [/indent] $mobile=mysql_result ($result, $i, „voornaam“);
[paragraaf] [/indent] [paragraaf] [/indent] $fax=mysql_result ($result, $i, „achternaam“);
[paragraaf] [/indent] [paragraaf] [/indent] $email=mysql_result ($result, $i, „geslacht“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „e-mail“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „contact_no“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „account_manager_email“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „account_created_date“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „introduction_complete“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „introduction_complete_date“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „diagnosis_faculty_complete“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „diagnosis_faculty_complete_date“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „send_a_case_complete“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „send_a_case_complete_date“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „impression_tracking_complete“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „impression_tracking_complete_date“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „ipr_complete“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „ipr_complete_date“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „summary_complete“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „summary_complete_date“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „training_complete“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „training_complete_date“);
[paragraaf] [/indent] [paragraaf] [/indent] $web=mysql_result ($result, $i, „actief“);
[paragraaf] [/indent]? >
method= " post
php
[paragraaf] [/indent] ++$i;
}
mysql_close ();
? >
|