Search the web
Sign In
New User? Sign Up
hawhaw · HAWHAW Developers group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
add_form is not working   Message List  
Reply | Forward Message #241 of 286 |
Re: add_form is not working

As already said a few post before:
PHP variables are case-sensitive.
$mypage != $myPage

(Hope it's not again copied from the hawhaw docu :)

Norbert

--- In hawhaw@yahoogroups.com, "Sateesh Chandra Sanga" <sateeshchandra_2003@...>
wrote:
>
> Hi ,
>
> I am very new to hawhaw coding.I am facing lot of problems to write
> code hawhaw with php.when iam trying to call add_form() function it is
> giving error,
>
> Fatal error: Call to a member function add_form() on a non-object in
> C:\xampp\htdocs\hawcode\sample.php on line 40
>
> My Code:
> --------------
> <?php
> require("./hawhaw.inc");
>
> $myPage = new HAW_deck("Register");
> $myPage->use_simulator();
> $myText1 = new HAW_text("Registration", HAW_TEXTFORMAT_BOXED);
> $myText1->set_color("yellow", "#889988"); // works with (X)HTML only
> $form = new HAW_form("/register.php");
> $name = new HAW_input("name", "", "Name");
> $name->set_size(20);
> $name->set_maxlength(20);
> $name->set_br(2);
>
> $myPage->add_text($myText1);
> $form->add_input($name);
>
> $mypage->add_form($form);
> $myPage->create_page();
>
> ?>
>
> ----------------
>
> can you give the solution for this problem asap.And also if you have
> any example code with hawhaw please send me.Please.
>
> Thanking You.
>






Mon Jun 30, 2008 4:16 pm

hawhaw_master
Offline Offline
Send Email Send Email

Forward
Message #241 of 286 |
Expand Messages Author Sort by Date

Hi , I am very new to hawhaw coding.I am facing lot of problems to write code hawhaw with php.when iam trying to call add_form() function it is giving error, ...
Sateesh Chandra Sanga
sateeshchand...
Offline Send Email
Jun 30, 2008
4:07 pm

As already said a few post before: PHP variables are case-sensitive. $mypage != $myPage (Hope it's not again copied from the hawhaw docu :) Norbert...
hawhaw_master
Offline Send Email
Jun 30, 2008
4:16 pm

Yaaa....Norbert...I solved that one.... Thanks for your response...... Why still no post method in HAWHAW...... ... From: hawhaw_master...
sateesh chandra
sateeshchand...
Offline Send Email
Jun 30, 2008
6:21 pm

hawhaw.inc supports the post method! HAWHAW XML (and HawTags) does not, but IMHO this is acceptable because a hawhaw proxy would have to transmit the whole...
hawhaw_master
Offline Send Email
Jun 30, 2008
6:54 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help