Re: Trigering PHP Code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Or, you could use XmlHttpRequest, which is what google suggest uses.

http://www.google.com/webhp?complete=1

You can use this to dynamically populate a section of the page. I wouldn't delve into it unless you have some xml/javascript experience also though.

Try this page for more info:

http://www.scss.com.au/family/andrew/webdesign/xmlhttprequest/

-Jeff

----- Original Message ----- From: "Bastien Koert" <bastien_k@xxxxxxxxxxx>
To: <nayyares@xxxxxxxxx>; <php-db@xxxxxxxxxxxxx>
Sent: Wednesday, December 29, 2004 12:15 PM
Subject: RE: Trigering PHP Code



see interspersed comments

bastien

From: Nayyar Ahmed <nayyares@xxxxxxxxx>
Reply-To: Nayyar Ahmed <nayyares@xxxxxxxxx>
To: php-db@xxxxxxxxxxxxx
Subject:  Trigering PHP Code
Date: Wed, 29 Dec 2004 19:43:35 +0500

Hello All,
I have two problem in my php file i.e.

1. I want to triger some php code, soon  after when a selection
is done from Drop Down Menu,
For Example:
When user select country name the State,city menu fill dynamically.

2 ways to do this
1. use javascript and pass all the data down to the client and have js do the manipulation
2. submit the page and draw the next select box at that time filled with a db query





2. I want to use a variable value gathered in one php file to some any other php file

use sessions

see http://www.php.net/sessions




For Example: When user enter his/her name , I will use in later processing in by some other php file.

I hope, I have explained my problem:

TIA,

Regards,

--
Nayyar Ahmad

Lecturer
Faculty Of Computer Science,
Institute Of Management Sciences,
Hayat Abad Peshawar , Pakistan.
Office : 92-091-9217404 , 9217452
Cell     :  92-0333-9139461

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux