public function insert ()
{
echo 'inserting';
}
}
$johnDoe = new Son();
$johnDoe->insert();
/*
-- Expected return:
something before called method
inserting
*/
$johnDoe->foo();
/*
-- Expected return:
something before called method
invalid method
*/
Greeti
t; directory. Since apache web server runs as the user nobody, how will I have
> that script execute as that user so that it can write data to their home
> directory?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.ph
--- p...@ptahhotep.com
> http://www.ptahhotep.com
> http://www.chiccantine.com/andypantry.php
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Is that exactly your code?
see your 4th line:
> $result = msql_query($sql, $db);
you forgot the "y" in mysql_query function...
if you have a 500 error code maybe this is the problem
--
Maximiliano Churichi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo