Re: passings vars
| From: | Jason Wong | Date: | Wed, 25 Feb 2004 04:58:57 +0000 |
| Subject: | Re: passings vars | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178811@lists.php.net to get a copy of this message | ||
On Wednesday 25 February 2004 12:23, Rick Liwczak wrote:
> need some help. Quite obviously I am new so bare with me....I am trying to
> pass a value (ENGLISH OR FRENCH) when the user clicks on either one of two
> images. If image 1, the value is english, if image 2 the value is french.
> Once they click the image which I use the following code (and it is
> probably wacked) to call the assign( ) function, it should update the
> $SESSION['Language'] variable but it does not....Your help is really
> appreciated Rick
You can't call php functions directly from an onClick() event. Search archives
for "calling php function from javascript" (or something like that) for
suggestions.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
8. Can you get VMS for this Sparc thingy?
--Top 100 things you don't want the sysadmin to say
*/