[PHP-DB] Trigering PHP Code

2004-12-29 Thread Nayyar Ahmed
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. I want to use a variable value gathered in one php file to some any
other php file

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



RE: [PHP-DB] Trigering PHP Code

2004-12-29 Thread Bastien Koert
see interspersed comments
bastien
From: Nayyar Ahmed [EMAIL PROTECTED]
Reply-To: Nayyar Ahmed [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] 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


Re: [PHP-DB] Trigering PHP Code

2004-12-29 Thread Jeffrey Moss
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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; php-db@lists.php.net
Sent: Wednesday, December 29, 2004 12:15 PM
Subject: RE: [PHP-DB] Trigering PHP Code


see interspersed comments
bastien
From: Nayyar Ahmed [EMAIL PROTECTED]
Reply-To: Nayyar Ahmed [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] 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