Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP and ActiveX Calendar Control

Status
Not open for further replies.

DreamerZ

Programmer
Jul 11, 2001
254
US
I've added the ActiveX Calendar Control to a web page form. Currently, I just want to report on the variable (display it at Submit). Putting the name of the variable ($WR_StartDate) displays nothing.

What else is involved in displaying this date from the ActiveX Calendar Control on form submit? Do I need to reference the params or classid?

HELP!


DreamerZ
simplesolutions04@sbcglobal.net
[ignore][/ignore]
 
Okay, I figured out how to access the global $_POST. I still get nothing with this code:
Code:
<?php echo $_POST["WR_StartDate"]; ?>

You mentioned registered globals? How do I check and/or turn that on if necessary?


DreamerZ
simplesolutions04@sbcglobal.net
[ignore][/ignore]
 
If you're referencing $_POST['WR_StartDate'], the setting for register_globals doesn't matter. I recommend leaving it set to "off", as does the PHP online manual. I have a link in my earlier post on register_globals.


It could be a variable-naming problem. PHP variables are case-sensitive.

If could be that your ActiveX component needs to modify an existing form field, which then needs to be submitted.

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Since it's just easier to remove the ActiveX control and go to a straight text box, I did...for now.

Variables were all named properly and I don't know how to update another field with an AfterUpdate in HTML so...

Thx for your help.


DreamerZ
simplesolutions04@sbcglobal.net
[ignore][/ignore]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top