ook and I downloaded the documentation from the wrox website. Their
code is exactly as the book and my own.
Im stumbed. Anybody read this book? Can anybody see something wrong?
Wade
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
01132003 0826 CST
Ok. This code is right off the PHP.net site. I changed the
action="action.php" to action="form.php" only.
But, when I run the page I receive "Hi . You are years old." Only.
Is this because I have global_variables turned off, even t
tell me?
Wade
***
Charlies Menu
$Entrees=array("Steak ($9)", "Pizza ($7)", "Pasta ($6)");
echo ""
echo "Which of the following would you like as an entree?";
echo "";
echo "Select...";
ech
01132003 2059 CST
Sean,
Thats a new one for me. In the line below, what does the " ' .
$Entrees[0] . ' "> do?
The " . ", do they have some value or do they negate something?
echo '' . $Entrees[0] . '';
Wade
--
PHP Windows Mailing L
BILL = $"' . $total . '"';
?>
The output for this last code is:
Your order was for the following:
Entree: Array
Dessert: Array
TOTAL BILL = $"0"
Enlighten me. Im trying hard to understand where to put things together.
Thanks
Wade
Sean Malloy wrote:
Strin
= $"0"
Now, for all variables do I put $_ before the variable? The rest of the
code does not have this? But, That does not explain why the Course1 data
was not displayed. Is it instead of Course1 it should be ListBox1?
Wade
Robert P Howard wrote:
Hi Wade,
This is what you should hav
$Monthly;
}
echo "This would take you $Duration months to pay this off at the
interest rate of $Interest percent.";
?>
Wade
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a double {}?
$_GET because of the GET call
$_GET["Auto"] this is right, right?
but then what with the [$Count}?
Can I do this: $_GET["Auto"[$Count]]";
How do you write an array in an array in a Global Variable place holder?
That doesnt seem possible?
Wade
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
//www.whateverB.com";
method="post">
Is that even possible?
Wade
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
01292003 1540 CST
When I run this script I get the html at the end but no $result. If the
result is run on the same page as the output, there shouldnt be anything
variable wise stopping this from running, right?
Wade
http://localhost/Learning PHP/PHP Fast &
Easy/Ch_6/calculate_form.
01302003 1407 CST
How do you turn on error messages in your PHP scripts?
I have removed ";" from the php.ini and changed OFF to ON in two
locations. But when I check the phpinfo() page it still says they are
off and my pages still return no errors. What gives?
Wade
--
PHP Windo
01302007 1410 CST
I couldnt get 2.0.43 to run on W2k either. Just use 1.3.26. Its stable
and it just works. Unless you absolutly need something in 2.0.43 or just
want to play with it, dont use it for anything developmental.
Wade
Pedro Mg wrote:
Hi,
i installed succesfully Apache 2.0.43 on a
02122003 1224 GMT-6
I have a question. When escaping characters, on the $_POST{x} do you
need to escape this as well? This is a snippt of code but Im getting a
Parse T error.
$form_block = "
Wade
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit:
values from the POST variable?
$sql = "CREATE TABLE $_POST[table_name](";
for($i = 0; $i < count($field_name); $i++)
wade
Wade wrote:
02122003 1224 GMT-6
I have a question. When escaping characters, on the $_POST{x} do you
need to escape this as well? This is a snippt of code but
03312003 1549 GMT-6
I saw this little script somewhere and now I cannot find it.
Im working on this site. If you happen to bounce into the site from
anywhere but the home page, you are automatically redirected back to the
home page. Can someone help me with this?
Wade
--
PHP Windows Mailing
03312003 1604 GMT-6
Can I do this without javascript? I know for a fact that a lot of our
customers do not have JS enabled. I dont.
Wade
Mike Brum wrote:
You can easily do that with JavaScript.
if (document.location.href != "index.html"){
document.location.href = "index.htm
16 matches
Mail list logo