...

View Full Version : Javascript Variable into PHP



amit_tgo
03-23-2004, 04:11 PM
Hello,
I've tried everything i could,

But am unable to get this thing going...

I have this variable set in javascript
test12345.php?ref=kavita

And i desire to pass the javascript variable into php and display
echo "$refid";

Where ref=$refid

Please Help

Regards
Amit

Nightfire
03-23-2004, 06:07 PM
Is that goin through the url? If it is, then you need to use


<?php
echo $_GET['ref'];
?>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum