Im not sure if I understand what you mean by that, but this is the info I have so farAttachment 4771 using the following scriptThat pic is showing out of 24xxx from the account ID column. What I need from my pop up datepicker is that I select the dates in which I want to see new accounts added, the sql query then shows data according to the two dates selected from the datepicker, thats where I am getting stuck.Code:<?php
$con = mysql_connect("localhost:33307","USER","PASS");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("leonetcrm", $con);
$result = mysql_query("SELECT vtiger_account.accountid, vtiger_crmentity.crmid, vtiger_account.account_no, vtiger_crmentity.createdtime
FROM leonetcrm.vtiger_account
INNER JOIN leonetcrm.vtiger_crmentity
ON vtiger_account.accountid=vtiger_crmentity.crmid");
echo "<table border='5'>
<tr>
<th>Account ID</th>
<th>Account Number</th>
<th>CRMID</th>
<th>Createdtime</th>
</tr>";
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['accountid'] . "</td>";
echo "<td>" . $row['account_no'] . "</td>";
echo "<td>" . $row['crmid'] . "</td>";
echo "<td>" . $row['createdtime'] . "</td>";
echo "</tr>";
}
echo "</table>";
mysql_close($con);
?>
If there other info needed please ask.

