> "$test->func_call()" are actually defined as being a member of your class
> "Table"?
>
> Thus addrow() might exist but $test->addrow() does not.
>
>
> "Rocco Castoro" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
Can Anyone tell my why this error is produced:
Fatal error: Call to undefined function: addrow() in C:\Program Files\Apache
Group\Apache2\htdocs\Hour8-7MainExample.php on line 63
>From this code:
headers = $headers;
$this->cols = count ( $headers );
}
//The addROw() Method --
function add
;addRow( array(1,2,3) );
$test->addRow( array(4,5,6) );
$test->addRowAssocArray (array ( b=>0, a=>6, c=>3 ) );
$test->output();
?>
thanks
"Rocco Castoro" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Yes it does, But IM lost in a space full of
email systems, RPG
> games, and lots of etc.
>
> Hope it helps...
>
> Bye!
> MG29
>
> -Mensaje original-
> De: Rocco CAstoro [mailto:[EMAIL PROTECTED]
> Enviado el: Sábado, 15 de Noviembre de 2003 09:14 p.m.
> Para: [EMAIL PROTECTED]
> Asunto: [PHP-WIN] P
I'm learning PHP for reasons I dont know... I just feel that with my passion
for code and computers, that I will be able to use this information to
create great things... I guess my question is, what all is PHP used for
anyways?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, vi
Thanks Much
"Gaguwd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You need to include the class in the script for it to work. You are
calling
> a class that isn't on the file.
>
> Bye!
> MG29
>
> -Mensaje original-
> De: Rocc
I'm reading Sams teach yourself PHP4 in 24 Hours, printed in 2000, and It
seems to be out of date with the current versions of PHP because when i try
to do the example:
";
print "\$obj2 is a ".gettype($obj2)."";
?>
It says Fatal error: Cannot instantiate non-existent class: first_class in
C:\Prog
r function to return string, try below example:
>
> function table4Strings( $string1, $string2, $string3, $string4 )
> {
> return "
border=1>$string1$string2$string3$string4
";
>
> }
>
> and use it:
>
> echo table4Strings(1, 2, 3, 4);
>
> HTH
> Pio
Would this be the best and most efficent way to create a function that
accepts four string variables and returns a string that contains an HTML
table element, enclosing each of the variables in its own cell :
";
print "";
print "$string1";
print "$string2";
print "$string3";
print "$string4";
What should I learn first, before I learn PHP to make it possible to
actually become skillfull at PHP.. I Already know HTML and have worked with
QBasic DOS Language.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
10 matches
Mail list logo