|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I would like to pass some values from javascripts to some of my php scripts, is that posible?
------------------ regds.. -ulrik- |
|
#2
|
|||
|
|||
|
I think what you are asking for is pretty simple and staright forward. Make your java call the php3 script with something like
yourscript.php3?var1=value1&var2=value2 and you will access $var1 and $var2 in your php script. hope this helps. ------------------ Anish Modi Infotech World India |
|
#3
|
|||
|
|||
|
If you use a form to send data you can also use hidden fields that are set by Javascript.
In PHP the variables will have the same name as the name of the hidden fields, preceded by $ of course. ------------------ Ramon Litjens Boradoli Web Design (www.boradoli.nl) |
|
#4
|
|||
|
|||
|
Thanks guys
I should have thought of that myself, it's kind of embarrassing... ------------------ regds.. -ulrik- |
![]() |
| Viewing: Dev Shed Forums > Web Design > JavaScript Development > how to pass values from javascript to php |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|