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: calendar form php $_POST problem
loyd
Newbie

Posts: 1
Registered: 2/24/2009
Location: austria
Member Is Offline
posted on 2/24/2009 at 07:31 PM Reply With Quote
calendar form php $_POST problem


First of all HI to you all.

thanks for the calendar and for the help in advance.


I cant figure out the problem.
Hope there is anybody out there who can help me.
Im trying to write a form for php to make a database query.

But i cant seem to send the date (created with the tigra calendar)
to the *.php file
all other variables seem to work.
-------------------------------------------------------------
here the code: I took out some of the html code
--------------------------------------------------------------

<script language="JavaScript" src="calendar_eu.js"></script>
<link rel="stylesheet" href="css/calendar.css">


<form name = "suchen" action="suchen.php" method="post">

<!-- calendar attaches to existing form element -->

<input type="text" name="datum" >

<script language="JavaScript">
new tcal ({
// form name
'formname': 'suchen',
// input name
'controlname': 'datum'
});

</script>

<br>

<select name="kategorie">
<option $auswahListe[1] value="single">Single</option>
<option $auswahListe[2] value="double">Double</option>
<option $auswahListe[3] value="quad">Quad</option>
<option $auswahListe[4] value="6bed">6-bed</option>
<option $auswahListe[4] value="8bed">8-bed</option>
</select>

<br>
<br>

<b>Geschlecht:</B><input type=radio name=geschlecht value=mann> MANN <input type=radio name=geschlecht value=frau> FRAU <br>
<br>
<input type=submit value=SUCHEN><br>
</form>

------------------------------------------------------------------------------
suchen.php code :
------------------------------------------------------------------------------


<?php

$datum = $_POST[datum];
$kategorie = $_POST[kategorie];
$geschlecht = $_POST[geschlecht];

echo $datum;

echo $kategorie;

echo $geschlecht;


?>


---------------------------------------------------------------------

I hope someone can point me into the right direction.
Thanx,
Andy
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