[PHP-DB] PHP in a javascript function with DB calls.

2002-09-10 Thread Aaron Wolski
Hi All, I HOPE this is the right place for this.. if not I am sorry!!! I'm hoping someone can put me on a clear path of how to do what I am asking here. I Have a shopping cart... and in this shopping cart I want to feature some items in a pop_up window when the user is ready to check out -

Re: [PHP-DB] PHP in a javascript function with DB calls.

2002-09-10 Thread Adam Voigt
Umm, the body tag in HTML has an onLoad parameter. So: body bgcolor=black onload=javascript:window.new('url'); That code for the window.new is probably wrong, but that will do it. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-09-10 at 11:20, Aaron Wolski wrote: Hi All, I HOPE this is the

Re: [PHP-DB] PHP in a javascript function with DB calls.

2002-09-10 Thread Petr Tomenendál
Hi. You cannot call PHP script from JavaScript in any simple way. It can be possibly done by including JavaScript code generated by PHP script through script src=script.php..., but it is too complicated. I think it will be better to do this like this: user have selected some items and goes to

RE: [PHP-DB] PHP in a javascript function with DB calls.

2002-09-10 Thread Ryan Jameson (USA)
-Original Message- From: Petr Tomenendál [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 10:58 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] PHP in a javascript function with DB calls. Hi. You cannot call PHP script from JavaScript in any simple way. It can be possibly done

AW: [PHP-DB] PHP in a javascript function with DB calls.

2002-09-10 Thread Franz Kornberger
, dependent=yes,width=500,height=200,scrollbars); SuchePreisl.focus(); } Hope this helps a little bit Franz -Ursprüngliche Nachricht- Von: Aaron Wolski [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 10. September 2002 17:20 An: [EMAIL PROTECTED] Betreff: [PHP-DB] PHP in a javascript