Pretty much the same technique I am using, tedd. I may have even used
your example as inspiration... :)
At the top of each page, I use
$currentstylecolor = isset( $_COOKIE['currentstyle'] ) ?
$_COOKIE['currentstyle'] : "brown"; // brown = default style
$currentstyle = "/skins/style_" . $
Alain, have you tried cookies?
On http://www.lily-gallery.com/ you will see 2 colored dots (bottom
left) that allows for alternate page colors. Once a user chooses one,
I remember his choice with a cookie. I use the cookie to control a
style sheet.
Gerry
I didn't realize that he was wanting a
Alain, have you tried cookies?
On http://www.lily-gallery.com/ you will see 2 colored dots (bottom
left) that allows for alternate page colors. Once a user chooses one,
I remember his choice with a cookie. I use the cookie to control a
style sheet.
Gerry
On 2/15/06, Alain Roger <[EMAIL PROTECTED
Hello,
Your getting confused between server side and client side.
PHP CANNOT be run on the client side which is what Javascript is.
In this case all you are doing is calling that php function twice one for
eng and once for fre.
Instead try using mydomain.com/setlang?=eng as a link which calls
v
Hi,
I have some link on which if user click, should do the following things:
- open a particular page
- setup to sessions some particular variable value
however, PHP function should be declared before HTML headers.
so i was thinking about something like that
...
">english
">french
...
but
You were close enough...this works:
The next challenge is to create a new window and display the file.
Todd
John Nichel wrote:
Todd Cary wrote:
Currently, I have a Link to show a PDF file
here to open the Race
Schedule'); ?>
I want to replace it with a button and an OnClick()
');
?>
John Nichel wrote:
Todd Cary wrote:
Currently, I have a Link to show a PDF file
here to open the Race
Schedule'); ?>
I want to replace it with a button and an OnClick()
');
?>
I cannot get the syntax correct for the OnClick. Is this the best way
to use a button for the task?
Todd
Since thi
Todd Cary wrote:
Currently, I have a Link to show a PDF file
here to open the Race Schedule'); ?>
I want to replace it with a button and an OnClick()
');
?>
I cannot get the syntax correct for the OnClick. Is this the best way
to use a button for the task?
Todd
Since this is a PHP mailing li
Currently, I have a Link to show a PDF file
here to open the Race Schedule'); ?>
I want to replace it with a button and an OnClick()
');
?>
I cannot get the syntax correct for the OnClick. Is this the best way
to use a button for the task?
Todd
--
PHP General Mailing List (http://www.php.net
onClick="this.form.submit();" will trigger a response from your form
processing routine, as specified in the form action="myprogram.php".
Warren Vail
-Original Message-
From: Dan McCullough [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 2:42 PM
To: Php-G
I want an event to get triggered when using onClick, but the event will be
MySQL delete/update/insert so how would I go about doing that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lt;[EMAIL PROTECTED]>, Dan Joseph <[EMAIL PROTECTED]>
Subject: RE: [PHP] OnClick problem
=> Hi,
=>
=> Wow, you've got me stumped, that shouldn't be printing the previous at
=> all. Could you forward tihs to the php list? I'm stumped.
=>
=> -Dan Joseph
=&
Hi,
> > Are you using the variable $_SERVER['PHP_SELF'] for your
> link target?
>
> I'm not, I'm a total newbie and don't quite understand, you mean
> instead of
> href="#" use href=$_SERVER['PHP_SELF']?
> Please bare with me and explain.
Yeah, it would be:
If t
Hi,
> Here's something I cant explain:
> I have a page with a form on it (checkboxes) and a hyperlink which is
> supposed to send the form to the server using:
>
> Trouble is that the link always points to the name of the
> previous page I
> came from. All pages are php generated on-the-fly.
Here's something I cant explain:
I have a page with a form on it (checkboxes) and a hyperlink which is
supposed to send the form to the server using:
Trouble is that the link always points to the name of the previous page I
came from. All pages are php generated on-the-fly.
Is this a php problem
Wow you're good!! Tnx that was exactly what I needed!!
Thumbs up for Morten Winkler Jørgensen
tnx again!
"Orv î?÷inklÏ ²ørÏkîskî" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Try this page. It is a hack but I think it does what you want it to.
>
>
>
>
>
Try this page. It is a hack but I think it does what you want it to.
This is a page with a button on it. When you press it you willget something in the
layer.
--
Kind regards,
Morten Winkler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Wed, Aug 15, 2001 at 11:56:42AM +0200, Flugel wrote:
> Is it also possible for the output of that php-page (MySQL query) to be
> displayed in a layer on the page where the button is located?
Should be... But unfortunately I don't have enough time to figure it
out for you at the moment. Sorry!
Is it also possible for the output of that php-page (MySQL query) to be
displayed in a layer on the page where the button is located?
"Renze Munnik" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wed, Aug 15, 2001 at 11:45:03AM +0200, Flugel wrote:
> > When
On Wed, Aug 15, 2001 at 11:45:03AM +0200, Flugel wrote:
> When a page is loaded the php code is being executed, is this also possible
> for an onclick event? If so how do I do that?
>
> tnx!
No. PHP is server-side, not client-side like onclick (JS). The only
way to do things like that is:
oncl
When a page is loaded the php code is being executed, is this also possible
for an onclick event? If so how do I do that?
tnx!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list ad
21 matches
Mail list logo