¡@

Home 

php Programming Glossary: team1

Storing php $_GET variable in a javascript variable?

http://stackoverflow.com/questions/5311961/storing-php-get-variable-in-a-javascript-variable

two pieces of info to a php page using the _GET method team1 team2 . I'd like to use these as variables in some javascript... answer In your .php file. script type text javascript var team1 team2 team1 php echo _GET 'team1' team1 php echo _GET 'team1'.. .php file. script type text javascript var team1 team2 team1 php echo _GET 'team1' team1 php echo _GET 'team1' script Safer..