Connecting Tech Pros Worldwide Help | Site Map

passing variables to php

 
LinkBack Thread Tools Search this Thread
  #1  
Old September 4th, 2008, 08:03 AM
chelvan's Avatar
Member
 
Join Date: Aug 2008
Location: Colombo 06, Srilanka
Age: 24
Posts: 86
Default passing variables to php

hi
all

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

chel-1
Reply
  #2  
Old September 4th, 2008, 09:33 AM
gits's Avatar
Moderator
 
Join Date: May 2007
Location: Munich, Germany
Age: 37
Posts: 3,780
Default

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

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
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.