1) Script Title: Jason's Date Input Calendar

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...oncalendar.htm

3) Describe problem:
I'm working on a form where I'm trying to make it so you can update the date if needed but the script itself currently isn't displaying how I've currently written it. I've tried a variety of ways to write the variables but I haven't been able to get it to display let alone the date pull to work. Anyone done anything like this before?


Sample code:
HTML Code:
This is declared in an earlier part of my php code:
$DefaultDate=$row['ItemDate']; 

the main call for the script:
<td>Date: <script>DateInput('$row['ItemDate']', true, 'YYYY-MM-DD','$DefaultDate')</script></td>