<?php require("Sajax.php"); function dodaj($data) { if ($data) { }; $ad = "1"; return $ad; }; $sajax_request_type = "GET"; sajax_init(); sajax_export("dodaj"); sajax_handle_client_request(); ?> <script> <?php sajax_show_javascript(); ?> function add(dane) { x_dodaj(dane); }; </script> Dane: <input type="text" id="ab1" /><br /> <input type="button" value="Zapisz" onClick="add(getElementById('ab1').value)" /><br />
Poprawiałem ten skrypt 100 razy i nadal nie chce odpalić. Nie wiem czemu, mam nadzieję, że forumowe mózgi pomogą
