The example show how to connect with database and update a portion of page dynamically.
span style="color: #ff0000;">"/KoolAjax/koolajax.php";
$koolajax->scriptFolder = $KoolControlsFolder."/KoolAjax"//Slow down 1s to see loading effect
"form1" method="post">
<div style="padding-bottom:10px;""cbbCustomer" onchange="select_customer()">
<option value="""select customerNumber,customerName from customers limit 0,10""<option value='".$row["customerNumber"]."'>".$row["customerName"]."</option>""width:300px;min-height:100px;padding-top:10px;""order_updatepanel""<table border='1'>""<tr><th>Order Number</th><th>Order Date</th><th>Status</th></tr>""customerNumber""customerNumber""select orderNumber,orderDate, status from orders where customerNumber=$customerNumber""<tr>""<td>".$row["orderNumber"]."</td>""<td>".$row["orderDate"]."</td>""<td>".$row["status"]."</td>""</tr>""</table>""<?php echo $KoolControlsFolder; ?>/KoolAjax/loading/5.gif""text/javascript""cbbCustomer""""customerNumber"