Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #20689

Re: How to put a variable ino php script..?

From "Robert Bralic" <robert.bralic@si.t-com.hr>
Newsgroups comp.lang.javascript
Subject Re: How to put a variable ino php script..?
Date 2013-07-17 10:26 +0200
Organization T-Com
Message-ID <ks5kfj$ccg$1@ls237.t-com.hr> (permalink)
References <ks596h$44u$1@ls237.t-com.hr> <XnsA2005FDAECEA6eejj99@194.109.133.133> <ks5hgv$a4b$1@ls237.t-com.hr> <XnsA20067199D868eejj99@194.109.133.133>

Show all headers | View raw


"Evertjan." <exxjxw.hannivoort@inter.nl.net> wrote in message 
news:XnsA20067199D868eejj99@194.109.133.133...
> Robert Bralic wrote on 17 jul 2013 in comp.lang.javascript:
>
>
>> "Evertjan." <exxjxw.hannivoort@inter.nl.net> wrote in message
>>> Robert Bralic wrote on 17 jul 2013 in comp.lang.javascript:
>>>
>>>> I have something like this:
>>>> <a href="update.php"><?php echo $r; ?></a>
>>>> and I want to know how to pass a $r to update.php
>>>> when user clicks on link..?
>>>
>>> Better ask in a php NG.
>
> [please do not quote signatures on NG's
>
>> But I want to do this with Javascript..
>
> Why? What would the programming language add?
>
> This $r seems to me something on the php-server,
> whe Javascript programmers wouln'd necesarily know about.
>
> You could perhaps change servers and use serverside JS?
> Or you could add a querystring extension to the href with php?
>
> -- 
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)

My Question Is:
How to make with javascript that when user cliks a link, that some value
pass to php script...

Thanks, Robert...;) 

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to put a variable ino php script..? "Robert Bralic" <robert.bralic@si.t-com.hr> - 2013-07-17 07:13 +0200
  Re: How to put a variable ino php script..? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-07-17 09:25 +0200
    Re: How to put a variable ino php script..? "Robert Bralic" <robert.bralic@si.t-com.hr> - 2013-07-17 09:35 +0200
      Re: How to put a variable ino php script..? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-07-17 10:08 +0200
        Re: How to put a variable ino php script..? "Robert Bralic" <robert.bralic@si.t-com.hr> - 2013-07-17 10:26 +0200
          Re: How to put a variable ino php script..? Carlos Pedro <carlospedr@gmail.com> - 2013-07-17 03:13 -0700
          Re: How to put a variable ino php script..? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-07-17 12:21 +0200
            Re: How to put a variable ino php script..? "Robert Bralic" <robert.bralic@si.t-com.hr> - 2013-07-17 12:32 +0200
              Re: How to put a variable ino php script..? Christoph Michael Becker <cmbecker69@arcor.de> - 2013-07-17 13:28 +0200
  Re: How to put a variable ino php script..? Denis McMahon <denismfmcmahon@gmail.com> - 2013-07-17 23:16 +0000
  Re: How to put a variable ino php script..? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-18 20:08 +0200

csiph-web