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:
|
" codeBody "
php
$db = nieuwe mysqli („localhost“, „xxxx“, „xxxxxxxxxx“, „xxxxx“);
als (mysqli_connect_errno ()) {
echo „Fout: Kon niet met gegevensbestand verbinden. Gelieve te proberen opnieuw later. “;
uitgang;
};
$result4=mysqli_query ($db, „SELECTEERT work_order_uids, work_order_job_code_desc,
wo_surface_code_description, account_name
VAN wo_table, wo_stats, acitve_sites_table, accounts_table, wo_surface_code, work_order_job_codes
WAAR wo_table.work_order_uids = wo_stats.work_order_uid
EN wo_stats.active_sites_uid = acitve_sites_table.active_sites_uid
EN acitve_sites_table.account_id = accounts_table.account_uid
EN wo_table.surface_code = wo_surface_code.wo_surface_code_id
EN wo_table.job_code = work_order_job_codes.wo_job_code_id
EN wo_status_codes = 1 ");
als (! $result4)
{
$error = „Fout die wo_table gegevens halen! “;
omvat („error.html.php“);
uitgang ();
}
terwijl ($row=mysqli_fetch_array ($result4))
{
$wo_tables [] =array ('work_order_uids'=>$row [„work_order_uids“], 'account_name'=>$row [„account_name“]
, 'work_order_job_code_desc'=>$row [„work_order_job_code_desc“], 'wo_surface_code_description'=>$row [„wo_surface_code_description“]);
};
//var_dump ($wo_tables);
? >
php foreach ($wo_tables als $wo_table):? >
php var_dump ($wo_table); ? >
php endforeach;? >
|