How to Fill Up Input boxes from data base based on 1st Entry.?
<p>First I'm New to PHP and JavaScript.</p>

<p>I have more then one input boxes for date Entering in PHP.
what I would like to do is if user Enter date in first input box based on this entered date, Rest of the input boxes should fill up automatically from SQL tables (which has date by week) when leave from 1st input box(OnChange).</p>

<p>I don't have any idea about it how can i do that.
Any helps will be appreciate..
Thank you</p>

<p>i have this code for the input boxes </p>

<pre><code>echo '&lt;div class = "start_date" &gt;'; //Start_Date class start
echo '&lt;strong&gt;&lt;label for="start_date"&gt;Start Date&lt;/label&gt;&lt;/strong&gt;';
echo '&lt;br/&gt;&lt;br/&gt;'; 
for($k=1;$k&lt;=$textboxindex;$k++)
    {
    echo "&lt;input type=\"text\" class='textboxsize' id= \"inputField$k\" name=\"start_date[]\" value=\"$start_date\" tabindex='$k'/&gt;";
    echo "&lt;br/&gt;";
    }

echo '&lt;/div&gt;'; //Start_date Class End
</code></pre>
