On 2/26/06, Atif Khan <[EMAIL PROTECTED]> wrote:
> Hello there, I am having an issue with HTML_QuickForm.
> When I try to send the form to another page, it does not
> seem to validate the form.
>
> Any suggestions.
>
>
>
> // Load the main class
>
> require_once 'HTML/QuickForm.php';
>
> // Instant
Hello there, I am having an issue with HTML_QuickForm.
When I try to send the form to another page, it does not
seem to validate the form.
Any suggestions.
// Load the main class
require_once 'HTML/QuickForm.php';
// Instantiate the HTML_QuickForm object
$form = new HTML_QuickForm('firstForm
Anybody used PEAR: HTML_QuickForm or Manuel Lemos Forms Generation and
Validation class? I'm looking to use one of these for my forms, so I was
wondering if anybody had any experience in working with either.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
> echo "The month: $thedate['m']";
echo "The month: {$thedate['m']}";
or
echo "The month: $thedate[m]";
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Great. Thanks.
- Charles
On Wednesday, March 26, 2003, at 09:48 PM, Leif K-Brooks wrote:
Yes, but you can't put put the single quoted array key directly in the
double-quotes string, try:
$thedate = $lr_form->getSubmitValue('lr_pub_date');
echo "The month: {$thedate['m']}";
Charles Kline wrot
Yes, but you can't put put the single quoted array key directly in the
double-quotes string, try:
$thedate = $lr_form->getSubmitValue('lr_pub_date');
echo "The month: {$thedate['m']}";
Charles Kline wrote:
Okay. I think I understand. So I do something like this:
$thedate = $lr_form->getSubmit
Okay. I think I understand. So I do something like this:
$thedate = $lr_form->getSubmitValue('lr_pub_date');
echo "The month: $thedate['m']";
Is that what you meant?
- Charles
On Wednesday, March 26, 2003, at 09:31 PM, Leif K-Brooks wrote:
Are you trying to print/echo it? That converts it to
Are you trying to print/echo it? That converts it to a string first.
Either print_r it, var_dump it, or do something else with it.
Charles Kline wrote:
hi all,
using html_quickform (pear) and it has a date type that passes the
date info like this:
array(24) {
["lr_pub_date"]=>
array(3) {
hi all,
using html_quickform (pear) and it has a date type that passes the date
info like this:
array(24) {
["lr_pub_date"]=>
array(3) {
["m"]=>
string(1) "3"
["d"]=>
string(2) "12"
["Y"]=>
string(4) "2003"
}
I am used to getting this data like:
$form->getSubmitVal
9 matches
Mail list logo