Hi all, I am writing a HTML page to gather whole bunch of information provided by user and pass it to the PHP script to generate a report base on these information. Namely, user inputs data in textfields of a HTML FORM. Since, there is a lot of fields in the field, when the form submitted, the URL to the PHP script become very long. I am wondering two way to solve this problem. First, I create a PHP Class to store all Infomation and using JavaScript function in the HTML page to "PUT" those value of fields into my PHP Class Object. Then pass the PHP Class Object to the PHP script. However, I wondering is it possible for the JaveScript function to manipulate the PHP Class Object, and How? How could I Call the PHP Class Constructor inside the JavaScript function?? Moreover, How could I pass the PHP Class Object from the HTML page to the PHP Script?? Is it possible to do so??
Second solution I've thought of was writing another PHP function inside the HTML page and doing the job as the JavaScript function. However, I have no I idea how could the HTML page call the PHP function when the user submitted the HTML FORM. Once again, How could I pass the PHP Class Object from the HTML page to the PHP Script at the end?? Thank You Very Much! Best Regards, Harry yau -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php