JRC
|
| Posted: 11/24/2004, 6:40 AM |
|
global $cast_production;
global $Redirect;
$Redirect=$Redirect. "machine_number=".urlencode($cast_production->machine_number->GetValue())."&date_entered=".urlencode($cast_production->date_entered->GetValue());
Using the above code I cannot get the date to pass here is the url that I am getting returned
http://pcl.orlick.on.ca/cast_produ_maint.php?machine_nu...3&date_entered=
Does anyone else have problems with date fields? I have had TERRIBLE experience with them in other instances.
|
|
|
 |
klwillis
Posts: 428
|
| Posted: 11/24/2004, 9:18 AM |
|
What value are you using for the data type for 'date_entered' ?
Be sure to set it to date, and choose a data format.
That may be your problem.
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
 |
 |
JRC
|
| Posted: 11/24/2004, 11:01 AM |
|
I have it working now thanx, I found out by echoing the varible it was an array?
Why is the date an array. Anyhow I used the builtin function ccformatdate and it seems to work.
|
|
|
 |
|