<!DOCTYPE html> <html lang="en"> <head> <?php include_once 'class.php'; include 'funkcje.php'; ?> <script type="text/javascript"/> function pobierz() { var user_input document.getElementById('user_input').value; <?php sprawdz_czy_poprawna_odpowiedz(xxxx);?>'; } </script>
jak przekazać wartość zmiennej z js do PHP (user_input w miejsce xxxx)