Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Form Processing
Pavel_Nedved
Junior Member

Posts: 2
Registered: 8/17/2004
Member Is Offline
posted on 8/17/2004 at 12:38 PM Reply With Quote
Form Processing


Hi,

I was trying to write my own form processor in php. I can't figgure out what the form id's are.

My code in the <head> tags is:
<script language="JavaScript" src="../jscript/calendar.js"></script>
<script language="JavaScript">
var cal1= new calendar();
</script>

and then within the <form> tags later on, it goes:
<script language="JavaScript">cal1.lb_init();</script>


In my PHP program, I tried using:
$month = $_POST['calcal1_month'];
$day = $_POST['calcal1_day'];
$date = "$month" . " " . "$day";

...but aparently that doesn't work. I probably got the names wrong, but I can't for the life of me figgure out what they are called. Plz help! What are they actually called?


Thank you very much,

Pavel
View User's Profile View All Posts By User U2U Member
bonzo
Junior Member

Posts: 3
Registered: 8/16/2004
Location: Cambridge, England
Member Is Offline
posted on 8/17/2004 at 05:08 PM Reply With Quote
Helped my post as well


Tried a little test with your code Pavel and used
[php]
$test = $_POST['input1'];
echo "<br>test = ",$test;
[/php]

The output was : test = 01-01-2004 You could then use php "String thingys" to pick out the day month & day.

Anthony
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004