Would you please look at the code you wrote again. I must have
botched it, because both the age and kitten form still are on the
same page. The age page should appear, the data should be accepted
and then the kitten page should appear.
Ethan
Hi Ethan,
I don't mean to get in between yo
At 02:38 PM 12/27/2010, Jim Lucas wrote:
On 12/27/2010 10:42 AM, Ethan Rosenberg wrote:
>
> Now, here is the real puzzler
>
> The purpose of this routine is to be able to have two(2) forms on
one page,but
> not simultaneously.Additionally, l do not wish to call a separate
program every
>
On 12/27/2010 10:42 AM, Ethan Rosenberg wrote:
> Jim -
>
> Thank you ever so much.
>
> At 01:58 PM 12/24/2010, you wrote:
>
>> Here you are using two different arrays. Yes, I know, they are basically the
>> same, but they are truly not the same. In your case, use $_POST
>>
>> This is what
query:
select * from Intake3 where AND `Site` = 'AA'
I can't figure out what is happening.
Would you please help.
Thanks again.
Ethan
+++
Date: Tue, 21 Dec 2010 22:33:17 -0800
From: Jim Lucas
To: Ethan Rosenberg
CC: "php-db-lists.php.net",
php-general@lists.php.net
On 12/18/2010 9:17 PM, Ethan Rosenberg wrote:
Dear List -
Thanks to all for your EXCELLENT comments. I definitly agree that goto
is a command to be avoided at all costs. In this case, I could not
figure out how to acheive the desired result without the goto. So
being a newbie, I humbly reque
On Sat, Dec 18, 2010 at 11:44 PM, Robert Cummings wrote:
> On 10-12-19 12:17 AM, Ethan Rosenberg wrote:
>>
>> Dear List -
>>
>> Thanks to all for your EXCELLENT comments. I definitly agree that
>> goto is a command to be avoided at all costs.
>
> Closed-minded drivel (or you're buttering up the p
On 10-12-19 12:17 AM, Ethan Rosenberg wrote:
Dear List -
Thanks to all for your EXCELLENT comments. I definitly agree that
goto is a command to be avoided at all costs.
Closed-minded drivel (or you're buttering up the popular opinion crowd).
A better approach is that goto should be used with
* Thus wrote Nitin ([EMAIL PROTECTED]):
> Hi all,
>
> I was wondering, if there's any way to achieve 'goto "label":' using PHP
The closest you'll get to label's in php is the break statement.
while (loop) {
while (loop) {
break 2; // leave 2 loops
}
while (loop) {
break; // leav
[snip]
I was wondering, if there's any way to achieve 'goto "label":' using PHP
[/snip]
Are you trying to go to a section of code to perform some operations on
current variables? If so use functions
http://us3.php.net/manual/en/ref.funchand.php . If you have some sort of
decisive mechanism use swi
On Thursday, June 13, 2002, 1:22:07 PM, Stephen Brewster wrote:
> HTML
>
>
>
>
>
>
>
>
>
> PHP
> ---
> if($type == 'LOOP') {
>$sql = 'SELECT * FROM products';
>$result = mysql_query($sql, $db);
>$record = $mysql_fetch_array($result, MYSQL_ASSOC);
FYI: c and c++ do have goto
-Original Message-
From: JSheble [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 3:29 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] GOTO command. Doest it exist?
I sure hope I'm not going to stir up any trouble, but why exactly would you
need a
AFAIK C, C++,
and some of the more less known languages such as Clipper, FORCE do not have
GOTO statements. They haven't been missed either.
>>-Original Message-
>>From: David Robley [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, June 11, 2002 9:32 PM
>>To: [EMA
In article <001901c21190$c2ffc4e0$017f@localhost>,
[EMAIL PROTECTED] says...
> Many will tell you that the goto command is extinct. It isn't, it's just
> evolved into the function command. What you do now is create a function:
>
> function some_name($variable,$other_variable,...)
> {
>
GOTO command. Doest it exist?
- Original Message -
From: "hugh danaher" <[EMAIL PROTECTED]>
To: "Carlos U. Cirello Filho" <[EMAIL PROTECTED]>; "php"
<[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 2:41 PM
Subject: Re: [PHP] GOTO command.
ld be able to do code using just those basic elements
> (sequence, loops, conditions -> basic flowchart "commands")
>
> just my 2c worth
>
> -Original Message-
> From: David Freeman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 12, 2002 8:34 AM
> To: [EMAIL P
On 6/11/02 4:06 PM, "Chris Hewitt" <[EMAIL PROTECTED]> wrote:
> Carlos,
>
> A search of the on-line manual does not find it
> (http://www.php.net/manual) but even if it has, I would advise you not
> to use it. Its a throwback to the 1970s before "structured programming".
Sometimes, it's appropr
conditions -> basic flowchart "commands")
just my 2c worth
-Original Message-
From: David Freeman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 8:34 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] GOTO command. Doest it exist?
> I do beg your pardon... But does PHP not hav
> I do beg your pardon... But does PHP not have GOTO command?
Why do you need one? In my experience, going right back to BASIC over
10 years ago, it's rarely _necessary_ to have a goto.
In php I suspect you'd get similar functionlity out of either include()
for creating functions.
Not using
Many will tell you that the goto command is extinct. It isn't, it's just
evolved into the function command. What you do now is create a function:
function some_name($variable,$other_variable,...)
{
some code here;
}
then, call it using :
call_user_func('some_name',$variable,$other
I am affraid to say that there is indeed, however not under keyword goto but
under commentaries of do while statements..
"Chris Hewitt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Carlos,
>
> A search of the on-line manual does not find it
> (http://www.php
Carlos,
A search of the on-line manual does not find it
(http://www.php.net/manual) but even if it has, I would advise you not
to use it. Its a throwback to the 1970s before "structured programming".
Regards
Chris
Carlos U. Cirello Filho wrote:
>I do beg your pardon... But does PHP not hav
header("Location: http://location.com/blah.php";);
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Mon, 20 Aug 2001 13:56:25 -0500
"RoyW" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am sure there is an easy way to do this...
>
> But when my script is done do
http://www.php.net/manual/en/function.header.php
> Hi,
>
> I am sure there is an easy way to do this...
>
> But when my script is done doing whatever I want it to do - RATHER than
> print text and all to a page, I want the browser (within the same window) to
> go to a specific URL
>
> Can this
23 matches
Mail list logo