View Single Post
  #1 (permalink)  
Old 08-25-03, 09:46 PM
gamextremer2003 gamextremer2003 is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
php and javascript together?

How can I make or send information to php from javascript? Maybe I need MySql help..I dunno.

Here's my problem, I'll make it really simple so that it won't take too much of your time to understand.

HTML----

link to external script
script = javascript src=1.js

JAVASCRIPT----

Make random number
Store number either by making a new array or num = randomnum and setting +num+ to the random number

PHP----
Write $num to text file.


and while all this is going, the page has not lost it's focus on the HTML file. Basically what I mean is that all this happens in the background.

How exactly would I be able to do this? Any help would be greatly appreciated. Thank you.
__________________
Gamex
Reply With Quote