Javascript Variables in PHP

Reply

Join Date: Apr 2007
Posts: 11
Reputation: wavalker is an unknown quantity at this point 
Solved Threads: 1
wavalker wavalker is offline Offline
Newbie Poster

Javascript Variables in PHP

 
0
  #1
Sep 11th, 2007
plz anybody help me
i want to use javascripts variables in php but i can't able to do that
so sugess me some thing to do that
regards

mahendra
Last edited by stymiee; Sep 11th, 2007 at 11:10 am. Reason: email removed
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,422
Reputation: stymiee is on a distinguished road 
Solved Threads: 35
Moderator
stymiee's Avatar
stymiee stymiee is offline Offline
He's No Good To Me Dead

Re: Javascript Variables in PHP

 
0
  #2
Sep 11th, 2007
Since JavaScript runs in the browser the only way it can talk to PHP is through Ajax.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 14
Reputation: kaykays is an unknown quantity at this point 
Solved Threads: 0
kaykays kaykays is offline Offline
Newbie Poster

Re: Javascript Variables in PHP

 
0
  #3
Sep 11th, 2007
There are 2 ways you can explore:

1) You can set cookie values in Javascript and get the cookie values in PHP.

2) Call the php file with GET parameters set by Javascript.
PHP | ASP
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC