Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 4th, 2008, 09:03 AM
chelvan's Avatar
Member
 
Join Date: Aug 2008
Location: Colombo 06, Srilanka
Age: 23
Posts: 82
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, 10:33 AM
gits's Avatar
Moderator
 
Join Date: May 2007
Location: Munich, Germany
Age: 36
Posts: 3,370
Default

yes it is possible, do you use post or get?
Reply
  #3  
Old September 4th, 2008, 10:58 AM
RamananKalirajan's Avatar
Familiar Sight
 
Join Date: Mar 2008
Location: Chennai - India
Age: 24
Posts: 236
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


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 network members.
Post your question now . . .
It's fast and it's free

Popular Articles