avoid unescaped quotes when updating database
[openemr.git] / interface / batchcom / batchPhoneList.php
blob0c939a8c2a2022a169726225822c34f737d389e2
1 <?php
2 /*
3 batch list processor, included from batchcom
4 */
6 // create a list for phone calls
7 // menu for fields could be added in the future
9 ?>
10 <html>
11 <head>
12 <link rel=stylesheet href="<?echo $css_header;?>" type="text/css">
13 <link rel=stylesheet href="batchcom.css" type="text/css">
14 </head>
15 <body <?echo $top_bg_line;?> topmargin=0 rightmargin=0 leftmargin=2 bottommargin=0 marginwidth=2 marginheight=0>
16 <span class="title"><? xl('Batch Communication Tool','e')?></span>
17 <br><br>
21 echo ("<table>"); //will do css
23 echo ("<tr><td>".xl('Name') ."</td>");
24 echo ("<td>".xl('DOB') ."</td>");
25 echo ("<td>".xl('Home')."</td>");
26 echo ("<td>".xl('Work') ."</td>");
27 echo ("<td>".xl('Contact') ."</td>");
28 echo ("<td>".$Cell."</td></tr>\n");
31 while ($row=sqlFetchArray($res)) {
33 echo ("<tr><td>${row['title']} ");
34 echo ("${row['fname']} ");
35 echo ("${row['lname']} </td>");
36 echo ("<td>${row['DOB']} </td>");
37 echo ("<td>${row['phone_home']} </td>");
38 echo ("<td>${row['phone_biz']} </td>");
39 echo ("<td>${row['phone_contact']} </td>");
40 echo ("<td>${row['phone_cell']} </td></tr>\n");
43 echo ("</table>");