you never changed the value of $number...
$number = sqr($number);


On 8/9/05, Marc Henri <[EMAIL PROTECTED]> wrote:
> 
> 
> 
> 
> 
> //html code for a form. Just enter a number and then
> you'll get its sqrt.
> <?php
> include("myfunctions.php"); //the file where are
> stored all my functions
> $number=$_POST['number'];
> 
> sqr($number);
> 
> echo "The result of the function is : $number";
> ?>
> ...
> 
> But it doesn't work. Do I need to specify something so
> PHP can find the function in the file myfunctions.php?
> 
> 


-- 
katy
~~+++~~ +
no matter where you go, 
there you are 
+ ~~+++~~


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h9po07c/M=362131.6882499.7825260.1510227/D=groups/S=1705005703:TM/Y=YAHOO/EXP=1123627509/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: php-list@yahoogroups.com
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to