RE: [PHP] JavaScript and PHP

2008-05-16 Thread tedd
At 4:01 PM +0100 5/16/08, Ford, Mike wrote: On 14 May 2008 21:21, tedd advised: At 7:31 PM +0100 5/14/08, Mário Gamito wrote: Hi, I have this HTML/JS page that switches images clicking on the radio buttons and call template.php with the image ID as parameter: http://portulan-online.net/

RE: [PHP] JavaScript and PHP

2008-05-16 Thread Ford, Mike
On 16 May 2008 16:12, Boyd, Todd M. advised: >> -Original Message- > > 8< snip! > >> That's incorrect. A form will function perfectly well with only name= >> attributes, and no ids, and it's quite possible for JavaScript to >> address the form elements using only the names (in fact, it'

RE: [PHP] JavaScript and PHP

2008-05-16 Thread Boyd, Todd M.
> -Original Message- 8< snip! > That's incorrect. A form will function perfectly well with only name= > attributes, and no ids, and it's quite possible for JavaScript to > address the form elements using only the names (in fact, it's easier > than via the ids as there's a short syntax fo

RE: [PHP] JavaScript and PHP

2008-05-16 Thread Ford, Mike
On 14 May 2008 21:21, tedd advised: > At 7:31 PM +0100 5/14/08, Mário Gamito wrote: >> Hi, >> >> I have this HTML/JS page that switches images >> clicking on the radio buttons and call >> template.php with the image ID as parameter: >> http://portulan-online.net/einstein.html >> >> Now, I need t

Re: [PHP] JavaScript and PHP

2008-05-14 Thread tedd
At 7:31 PM +0100 5/14/08, Mário Gamito wrote: Hi, I have this HTML/JS page that switches images clicking on the radio buttons and call template.php with the image ID as parameter: http://portulan-online.net/einstein.html Now, I need to make it a PHP page, because it is going to receive a p

Re: [PHP] JavaScript and PHP

2008-05-14 Thread Dan Joseph
On Wed, May 14, 2008 at 2:31 PM, Mário Gamito <[EMAIL PROTECTED]> wrote: > Hi, > > I have this HTML/JS page that switches images clicking on the radio buttons > and call template.php with the image ID as parameter: > http://portulan-online.net/einstein.html > > Now, I need to make it a PHP page, b

[PHP] JavaScript and PHP

2008-05-14 Thread Mário Gamito
Hi, I have this HTML/JS page that switches images clicking on the radio buttons and call template.php with the image ID as parameter: http://portulan-online.net/einstein.html Now, I need to make it a PHP page, because it is going to receive a parameter from the URL that calls it and pass it

Re: [PHP] Javascript and PHP interaction

2007-03-12 Thread Richard Lynch
What you *COULD* do is this: Use .htaccess to force your .css files to *really* be PHP files: ForceType application/x-httpd-php [NOTE: Depending on your server configuration, the application/x-httpd-php part could be *ANYTHING* the sysadmin felt was appropriate...] Inside your CSS, you now

Re: [PHP] Javascript and PHP interaction

2007-03-08 Thread Németh Zoltán
2007. 03. 8, csütörtök keltezéssel 09.14-kor Alain Roger ezt írta: > Hi, > > I would like to know if there is a way how PHP code can extract from > ElementID some property values. > > for example, i have the following PHP page : > > print "my main div"; > $new_Width = somefunction(); > print "

[PHP] Javascript and PHP interaction

2007-03-08 Thread Alain Roger
Hi, I would like to know if there is a way how PHP code can extract from ElementID some property values. for example, i have the following PHP page : my main div"; $new_Width = somefunction(); print "my child div"; ?> in my CSS file (which is link to my HTML page), i have : .maindiv { width :

RE: [PHP] Javascript and php

2004-11-07 Thread Reinhart Viane
PROTECTED] Subject: Re: [PHP] Javascript and php Reinhart, picture_url.'"'; if($i <= mysql_num_rows($result)-2) { echo ','; } } ?> Here is how I do in my developments. Regards, Bruno B B Magalhães On Nov 7, 2004, a

Re: [PHP] Javascript and php

2004-11-07 Thread Bruno B B Magalhães
Reinhart, picture_url.'"'; if($i <= mysql_num_rows($result)-2) { echo ','; } } ?> Here is how I do in my developments. Regards, Bruno B B Magalhães On Nov 7, 2004, at 8:44 AM, Reinhart Viane wrote: Hey all, Hope some of you also work on sundays :) I

Re: [PHP] Javascript and php

2004-11-07 Thread Jordi Canals
On Sun, 7 Nov 2004 11:44:33 +0100, Reinhart Viane <[EMAIL PROTECTED]> wrote: > Hope some of you also work on sundays :) > > I have a little javascript which displays a images (with previous / next > thing) > Now, i populate the javascript array with an php array: > > > > < /head > ...and so on. Jordan wrote: > Hey

[PHP] JavaScript and PHP

2001-12-09 Thread Jordan
Hey all, Just a quick question...how would you pass a PHP variable to a JavaScript function? -Jordan -- 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 administrators, e-mail: [EMA

Re: [PHP] Javascript and Php

2001-03-02 Thread Christian Reiniger
On Thursday 01 March 2001 13:19, you wrote: > I'd like to include an inc file once a button id cliked! You can only request a new page. Period. PHP runs on the server, button clicks are evaluated on the client (browser). -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) The use

[PHP] Javascript and Php

2001-03-01 Thread kaab kaoutar
Hi! I'd like to include an inc file once a button id cliked! I tried calling that function: function more() { ; // var f=; document.form1.action="formhtl_rd.html";document.form1.submit(); } but it fails! Any idea Thanks _

Re: [PHP] javascript and php

2001-01-16 Thread Jørg V . Bryne
thing run queries or whatever... Wrote the above from memory, so the syntax might be a bit of, but the flow is the same. have a nice day! -Jørg V. Bryne - Original Message - From: "Patrice ROTH" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 16, 200

Re: [PHP] javascript and php

2001-01-16 Thread Soeren Staun-Pedersen
> It is easy to generate javascript through php,but how to call php through > javascript. > In fact, I'd like to update some form fields according to events on other > fields. I can do this using javascript, but the values should be readed in a > MySql database. You're in a serverside, clientside

[PHP] javascript and php

2001-01-16 Thread Patrice ROTH
It is easy to generate javascript through php,but how to call php through javascript. In fact, I'd like to update some form fields according to events on other fields. I can do this using javascript, but the values should be readed in a MySql database. Thank's Patrice

Re: [PHP] JavaScript and PHP ... are they at all the same?

2001-01-10 Thread Marcelo Gulin
Hi! yes, you can escape like in php o c. regards Marcelo Gulin Brandon Orther escribió: > > Hello, > > I am making a PHP script that makes a JavaScript. Is there a way in java to > escape a character like in php. (in php you use "\") > > Thank you, > > --

[PHP] JavaScript and PHP ... are they at all the same?

2001-01-10 Thread Brandon Orther
Hello, I am making a PHP script that makes a JavaScript. Is there a way in java to escape a character like in php. (in php you use "\") Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellec