On Fri, Oct 10, 2008 at 01:48:01PM -0400, Andrew Ballard wrote:
> On Fri, Oct 10, 2008 at 1:33 PM, The Doctor <[EMAIL PROTECTED]> wrote:
> > What I am trying to do is to
> > pass an aggregate variable which is the sum of
> > some smaller variable.
> >
> > This var also need to finish in the form of
On Fri, Oct 10, 2008 at 1:33 PM, The Doctor <[EMAIL PROTECTED]> wrote:
> What I am trying to do is to
> pass an aggregate variable which is the sum of
> some smaller variable.
>
> This var also need to finish in the form of $.YY .
>
> Pointers please.
Would you care to explain a little further
The Doctor wrote:
> What I am trying to do is to
> pass an aggregate variable which is the sum of
> some smaller variable.
>
> This var also need to finish in the form of $.YY .
>
> Pointers please.
Most of the above can be done using number_format(). The dollar sign you will
have to add yo
oops, that should be htmlentities, not htmlspecialchars.
- Jeff
On 3-Oct-05, at 11:51 AM, Jeffrey Sambells wrote:
$PHP_SELF should not be used because it will not work without
register_globals being enabled. Rather, you should use $_SERVER
['PHP_SELF'] for it as above however...
Don't for
can someone show me the right way to do the following...
I want to pass a variable to a self submitting link.
Thanks,
$PHP_SELF should not be used because it will not work without
register_globals being enabled. Rather, you should use $_SERVER
['PHP_SELF'] for it as above however
- Original Message -
From: "A.J. Brown" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, September 27, 2005 3:26 PM
Subject: Re: [PHP] passing a variable with php_self
">
works well too
--
Sincerely,
A.J. Brown
"Jim Moseby" <[EMAIL PROTECTED]>
A.J. Brown wrote:
">
works well too
works only if register_globals is on, doesn't it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
">
works well too
--
Sincerely,
A.J. Brown
"Jim Moseby" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>> -Original Message-
>> From: Ross [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, September 27, 2005 8:58 AM
>> To: php-general@lists.php.net
>> Subject: [PHP] passing a
Ross wrote:
> can someone show me the right way to do the following...
>
>
>
> I want to pass a variable to a self submitting link.
Easiest way to do that is to use sprintf() or printf():
%s', $_SERVER['PHP_SELF'],
$link_title);
?>
Or, like you did with inline code in the HTML:
click my
sel
> -Original Message-
> From: Ross [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 27, 2005 8:58 AM
> To: php-general@lists.php.net
> Subject: [PHP] passing a variable with php_self
>
>
>
> can someone show me the right way to do the following...
>
>
>
>
> I want to pass a variab
[snip]
can someone show me the right way to do the following...
I want to pass a variable to a self submitting link.
[/snip]
echo $_GET['action'] . "\n";
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, April 28, 2005 9:08 pm, Mark Cain said:
> What a mess this has turned out to be -- But perhaps you can help me.
>
> I have a dynamic site that pulls headers, navigation, and footers from
> text files. The content for the pages is pulled from mySQL.
>
> On each page I have a JavaScript rota
On Friday 29 April 2005 07:08, Mark Cain wrote:
> What a mess this has turned out to be -- But perhaps you can help me.
>
> I have a dynamic site that pulls headers, navigation, and footers from text
> files. The content for the pages is pulled from mySQL.
>
> On each page I have a JavaScript rota
> My understanding is that when passing a querystring to PHP via the URL
> with the GET method, PHP will automatically create a variable with the
> name and value from the querystring. I'm trying to do this and it's
> not working.
Yes, if you have:
example.com/foo.php?id=33
In the old days,
or use javascript
or if you really wanted you could encrypt the variable
pass it via the url and then decrypt it on the next page!
to avoid a reload put no-cache in the header.
- Original Message -
From: "Daniel Alsén" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Tuesday,
That might not be such a good idea then.
Tyler
- Original Message -
From: "Daniel Alsén" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 02, 2002 9:11 AM
Subject: SV: [PHP] Passing a variable invisibly via a href?
> > You could use a form and have a hidden v
You could actually have javascript auto-submit the form if you didn't want the button
like:
document.form1.submit();
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2 Apr 2002 09:08:18 -0600, Tyler Longren <[EMAIL PROTECTED]> wrote:
> You could use a form and have a hidden vield that contains a value.
You could use a form and have a hidden vield that contains a value. The
user would have to click the submit button for the variable/value to carry
over though.
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
- Original Message -
From: "Daniel Alsén" <[EMA
George you are doing this backwards. Someone posted the code to do this
the right way last night. I would use the concatination of a third variable.
$field = "blah";
$loops = 10;
for ($i=0; $i < $loops; $i++)
{
$displayField = $field . $i;
echo "\n";
}
Rick
19 matches
Mail list logo