php-db | 2001071
Date: 07/13/01
- Next message: comp.mail.sendmail: "[PHP-DB] Re: upload problem ..."
- Previous message: Ken Sommers: "[PHP-DB] CGI or API installation?"
- In reply to: Kevin Johnson: "[PHP-DB] PHP calling Javascript"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Kevin Johnson" <kevin.johnson <email protected>> wrote in message
news:BF0FEA97965BD511BB6B0000D11A0442011CC7 <email protected>
>
> I was wondering how to call a javascript function within PHP?
> Any ideas of solutions.
You can't, at least not in the way you seem to mean.
PHP runs on the server, JavaScript on the client. PHP finishes completely
before JavaScript starts. The two can't interact as such.
What you CAN do is use PHP to create a page such that the JavaScript
function will get run.
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: comp.mail.sendmail: "[PHP-DB] Re: upload problem ..."
- Previous message: Ken Sommers: "[PHP-DB] CGI or API installation?"
- In reply to: Kevin Johnson: "[PHP-DB] PHP calling Javascript"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

