felix_alves Posted January 13, 2007 Share Posted January 13, 2007 lets say i have a string on a javascript variable:var myString="aaa";now i want that same string to be in:$myStrhow can i make it?thanks Link to comment https://forums.phpfreaks.com/topic/33985-how-to-pass-a-javascript-variable-to-a-php-one/ Share on other sites More sharing options...
Jessica Posted January 13, 2007 Share Posted January 13, 2007 I know how to do it the other way :) What are you trying to do? There might be an easier way. Link to comment https://forums.phpfreaks.com/topic/33985-how-to-pass-a-javascript-variable-to-a-php-one/#findComment-159722 Share on other sites More sharing options...
kenrbnsn Posted January 13, 2007 Share Posted January 13, 2007 The only way to pass a Javascript value to PHP is to use AJAX techniques.Ken Link to comment https://forums.phpfreaks.com/topic/33985-how-to-pass-a-javascript-variable-to-a-php-one/#findComment-159800 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.