Connecting Tech Pros Worldwide Help | Site Map

passing variables to php

  #1  
Old September 4th, 2008, 09:03 AM
chelvan's Avatar
Member
 
Join Date: Aug 2008
Location: Colombo 06, Srilanka
Posts: 86
hi
all

is it possible to pass a Java script variable's value to a php variable?

chel-1
  #2  
Old September 4th, 2008, 10:33 AM
gits's Avatar
Moderator
 
Join Date: May 2007
Location: Munich, Germany
Posts: 4,102
Provided Answers: 1

re: passing variables to php


yes it is possible, do you use post or get?
  #3  
Old September 4th, 2008, 10:58 AM
RamananKalirajan's Avatar
Needs Regular Fix
 
Join Date: Mar 2008
Location: Chennai - India
Posts: 344

re: passing variables to php


yes u can do it, can u please explain ur requirement clearly and fully. One of the way is u can have a hidden form variable and before submitting the form set the Javascript value to that hidden variable and in the PHP u retrieve the value.

Regards
Ramanan Kalirajan
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing variables to a class vern answers 3 September 19th, 2008 01:15 PM
Passing variables to fill a form coool answers 5 August 11th, 2007 07:12 PM
Passing variables to PHP script cytan7411 answers 0 May 11th, 2007 03:59 PM
passing variables to other pages julian maisano answers 5 July 17th, 2005 03:15 PM