| You can't. (unless you use AJAX, which I would not recommend before you understand how PHP works)
PHP only runs server-side. It is used to print text to the browser.
HTML/Javascript runs on the client (browser). By the time the HTML is drawn, PHP is done running.
You would have to request a new PHP page (submit an html form to a PHP page) to access PHP functions.
__________________ Mike |