Keith Bowes <do.not@spam.me> wrote in message news:<dLnCb.60$Sd4.39@fe10.private.usenetserver.co m>...[color=blue]
> Krista wrote:[color=green]
> > What is
> > different between "printf", "print" and "echo"?[/color]
>
> printf is formatted print, as:
> printf("Error %s occurred on line %d", $error_desc, $error_line);
>
> print and echo are close to the same thing. IIRC, print returns but
> echo doesn't.[/color]
Hi,
I still get a problem if i set global_register to on. I cannot pass
the value to the different php files. The example as following:
Testing.php
<?php
function abc()
{
print("<form action = "testing1.php" method="GET">
<input type ="text" name="username"><br>
<input type ="submit" name="submit1" value="Receiving">
<input type ="submit" name="submit1" value="Inventory">
</form>
}
?>
Testing1.php
<?php
require ("testing.php");
if(!$sumbit1)
{
abc();
}
else if ($submit1 == "Receiving")
{
print "Receiving";
}
else if ($submit1 == "Inventory")
{
print "Inventory";
}
else
{
print "Thank";
}
?>
Then i am tring to run it in IE:
http://localhost/testing1.php
but the result is nothing on the IE.
Therefore, what is the problem in my problem or my config has a
problem?
Thanks,
Krista