Re: post data?

From: Date: Mon, 09 Jun 2003 16:02:32 +0000
Subject: Re: post data?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-150769@lists.php.net to get a copy of this message
wouter, the checkform should be alright, coz i had been using Redhat 7.2+apache 1.3 + php 4.1.2 for a year and the program is working very good thx a lot! HPS "Esctoday.Com | Wouter Van Vliet" <wouter@esctoday.com> ??? news:OLECLCPPBLAAHPKBKILKCEONCDAA.wouter@esctoday.com ???... > in that case,.. I guess something is going wrong in your checkform > javascript function .. probably you attach the name and value (by mistake) > to eachother in there .... > > -----Oorspronkelijk bericht----- > Van: HPS [mailto:hpsquare@yahoo.com] > Verzonden: maandag 9 juni 2003 12:16 > Aan: php-general@lists.php.net > Onderwerp: Re: [PHP] post data? > > > the form tag is > <form action="syn2.php" method="post" onSubmit="return > checkform(this);"> > > Thx! > HPS > > > > "Esctoday.Com | Wouter Van Vliet" <wouter@esctoday.com> wrote in message > news:OLECLCPPBLAAHPKBKILKGEOICDAA.wouter@esctoday.com... > > What does your form tag look like? > > > > -----Oorspronkelijk bericht----- > > Van: HPS [mailto:hpsquare@yahoo.com] > > Verzonden: maandag 9 juni 2003 9:32 > > Aan: php-general@lists.php.net > > Onderwerp: [PHP] post data? > > > > > > Dear all, > > > > i am using PHP 4.2.2 with Red Hat 8.0 > > i had a form in <form.php>, which has a form like this > > <input class=text type=text name=course_id size=10 maxlength=10 > > value=""> > > say, i enter "6" in the text box. > > > > After i click the submit button and i echo the value of "course_id", it > > returned "6course_id=6", NOT "6" > > do you have any idea? > > > > > > thx a lot! > > HPS > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#150769) next »