Posted by MiguelD on November 8, 2012 at 10:33am
Dear friends,
I can't see the result of my submit form when I hit the "submit" button.
Here is the code I'm using:
in the block
<?php
function username () {
echo "aaa";
}
?> Name:
Age:
I also used a file and used include in the action but nothing happenened.
The page loads but nothing shows up in the screen.
Thanks
Comments
the html code
The html code after the function:
//
// Name:
// Age:
//
//
<?php$form_state['rebuild'] = TRUE;
?>
//
<?phpreturn $form;
?>
//
//
<?phpreturn $form;
?>
//
//
before the function we have
//
(certainly using everything without the // )
Thanks
Please visit my blog: http://talesforlove.blogs.sapo.pt
Sorry can't past the html
Sorry can't past the html code here...
Inside the action field we have
"
<?phpusername()
?>
Thanks
Please visit my blog: http://talesforlove.blogs.sapo.pt