Jump to content


Photo

passing variables in javascript to php


  • Please log in to reply
1 reply to this topic

#1 wishywashy83

wishywashy83
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 24 March 2006 - 03:09 AM

Hi..

Can anyone help me with this...

I am trying to pass a variable from a javascript to a php page.

is there any example i can use? or tutorial?

would appriecate any links.....

#2 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 28 March 2006 - 11:27 PM

What have you tried so far?

Remember, PHP runs on the server while Javascript runs on the client, so if PHP is to get the information the script has to be invoked either via AJAX or by the user clicking a link.

Ken




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users