diff options
Diffstat (limited to 'samples/grid/03_validation.html')
-rw-r--r-- | samples/grid/03_validation.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/samples/grid/03_validation.html b/samples/grid/03_validation.html index b97cd62..2bfce38 100644 --- a/samples/grid/03_validation.html +++ b/samples/grid/03_validation.html @@ -8,8 +8,6 @@ <script src="../dhtmlx/dhtmlx.js" type="text/javascript" charset="utf-8"></script> -<script src="../dhtmlx/dhtmlxdataprocessor.js" type="text/javascript" charset="utf-8"></script> -<script src="../../codebase/connector.js" type="text/javascript" charset="utf-8"></script> <link rel="stylesheet" href="../dhtmlx/dhtmlx.css" type="text/css" charset="utf-8"> </head> <body> @@ -34,7 +32,7 @@ <div class='code'><code><span style="color: #000000"> <span style="color: #0000BB"><?php <br /> </span><span style="color: #007700">require_once(</span><span style="color: #DD0000">"../config.php"</span><span style="color: #007700">); -<br /> </span><span style="color: #0000BB">$res</span><span style="color: #007700">=</span><span style="color: #0000BB">mysql_connect</span><span style="color: #007700">(</span><span style="color: #0000BB">$mysql_server</span><span style="color: #007700">,</span><span style="color: #0000BB">$mysql_user</span><span style="color: #007700">,</span><span style="color: #0000BB">$mysql_pass</span><span style="color: #007700">); +<br /> </span><span style="color: #0000BB">$res</span><span style="color: #007700">=</span><span style="color: #0000BB"> new PDO</span><span style="color: #007700">(</span><span style="color: #0000BB">$mysql_server</span><span style="color: #007700">,</span><span style="color: #0000BB">$mysql_user</span><span style="color: #007700">,</span><span style="color: #0000BB">$mysql_pass</span><span style="color: #007700">); <br /> </span><span style="color: #0000BB">mysql_select_db</span><span style="color: #007700">(</span><span style="color: #0000BB">$mysql_db</span><span style="color: #007700">); <br /> <br /> function </span><span style="color: #0000BB">check_data</span><span style="color: #007700">(</span><span style="color: #0000BB">$action</span><span style="color: #007700">){ |