You are here: Re: [PHP] Simple Alert Message then Redirect? « PHP « IT news, forums, messages
Re: [PHP] Simple Alert Message then Redirect?

Posted by Richard Lynch on 04/08/05 03:23

On Thu, April 7, 2005 11:59 am, PartyPosters said:
> Thanks for you reply.
> I need to be able to test the php variable though, is the anyway I can
> call
> the
> java funtion from my if statement?

First, it's JavaScript not Java.

Secondly, PHP lives on the SERVER.

JavaScript lives in the BROWSER.

PHP is gonnnnne by the time JavaScript executes.

You can get PHP to spew out ANY JavaScrpt you like.

Getting JavaScript to then do something with PHP will require a second
HTTP connection.

--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация