[PHP-WIN] Using the GET Method

2003-01-11 Thread Wade
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

Re: [PHP-WIN] initialize variables (was: Using the GET Method)

2003-01-13 Thread Wade
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

[PHP-WIN] initialize variables

2003-01-13 Thread Wade
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

Re: [PHP-WIN] initialize variables

2003-01-13 Thread Wade
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

Re: [PHP-WIN] initialize variables

2003-01-13 Thread Wade
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

Re: [PHP-WIN] initialize variables

2003-01-13 Thread Wade
= $"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

[PHP-WIN] CH 5 pg 150

2003-01-20 Thread Wade
$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

[PHP-WIN] Chapter 5, Loops and Arrays

2003-01-24 Thread Wade
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

[PHP-WIN] Is this possible

2003-01-28 Thread Wade
//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

[PHP-WIN] Passing Variables and Internal Variables

2003-01-29 Thread Wade
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.

[PHP-WIN] Turn on Error Messages

2003-01-30 Thread Wade
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

[PHP-WIN] Re: Apache service stalls

2003-01-30 Thread Wade
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

[PHP-WIN] Parsing Error

2003-02-12 Thread Wade
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:

[PHP-WIN] Re: Parsing Error

2003-02-12 Thread Wade
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

[PHP-WIN] Redirect to Home Page

2003-03-31 Thread Wade
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

Re: [PHP-WIN] Redirect to Home Page

2003-03-31 Thread Wade
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