Re: [PHP-DB] Server side or client side?

2001-02-25 Thread Forsfot

It seems to me that there are a lot of people who believe PHP can be
executed on the client side.

It cannot. For this, you would use JavaScript. PHP and JavaScript go REALLY
well together. They are best friends because they help each other out.

There is a way to do what you want to do. I have seen it before. But it's
gonna take some creative thinking. My advice is take this question to a
JavaScript discussion forum.

In a nut shell, what you will probably end up doing, is creating javascript
variables from your php/database. Then, you will have some JavaScript
onClicks on the page to access these javaScript variables.

I hope this sets you on the right path to your answer. I know it's a little
generic but hopefully, when someone searches for clientside in the archive,
this email will help them as well.

Good luck!

jeremy



- Original Message -
From: "Sridhar Ranganathan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 24, 2001 11:15 PM
Subject: [PHP-DB] Server side or client side?


 Hi

 I have a list that is populated by a table. when an item is selected, i
 want
 to show another list populated from antoehr table WITHOUT form
 submission.
 possible?? i think this kinda mixes client side and server side does it
 now?!

 regards
 sridhar ranganathan

 
 _
 Get Your Private, Free E-mail from MSN Hotmail at
 http://www.hotmail.com.


 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] Server side or client side?

2001-02-25 Thread Scott Bernard

I think that you can create a hidden frame, where you can work with the
values.
For example when you select something from the list, you are submiting a
form to the hidden frame, populating a hidden list there, then all you have
to do y just, with javascript, populate the visible list with the hidden
values.

Hope to be helpfuly.

idsarts.



-Mensaje original-
De: Forsfot [mailto:[EMAIL PROTECTED]]
Enviado el: Domingo, 25 de Febrero de 2001 12:33 p.m.
Para: [EMAIL PROTECTED]
Asunto: Re: [PHP-DB] Server side or client side?


It seems to me that there are a lot of people who believe PHP can be
executed on the client side.

It cannot. For this, you would use JavaScript. PHP and JavaScript go REALLY
well together. They are best friends because they help each other out.

There is a way to do what you want to do. I have seen it before. But it's
gonna take some creative thinking. My advice is take this question to a
JavaScript discussion forum.

In a nut shell, what you will probably end up doing, is creating javascript
variables from your php/database. Then, you will have some JavaScript
onClicks on the page to access these javaScript variables.

I hope this sets you on the right path to your answer. I know it's a little
generic but hopefully, when someone searches for clientside in the archive,
this email will help them as well.

Good luck!

jeremy



- Original Message -
From: "Sridhar Ranganathan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 24, 2001 11:15 PM
Subject: [PHP-DB] Server side or client side?


 Hi

 I have a list that is populated by a table. when an item is selected, i
 want
 to show another list populated from antoehr table WITHOUT form
 submission.
 possible?? i think this kinda mixes client side and server side does it
 now?!

 regards
 sridhar ranganathan

 
 _
 Get Your Private, Free E-mail from MSN Hotmail at
 http://www.hotmail.com.


 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Server side or client side?

2001-02-24 Thread Joe Brown

Don't complicate it...

Just enclose your list entries in a
href=another.html?id=${entry}${entry}/a and use another page if you
want...
Or loop back to the same page and check
if(empty($id))
 {show the first list... a href=${PHP_SELF}?id=${entry}${entry}/a ...}
else
 { show the second list}


""Sridhar Ranganathan"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hi

 I have a list that is populated by a table. when an item is selected, i
want
 to show another list populated from antoehr table WITHOUT form submission.
 possible?? i think this kinda mixes client side and server side does it
 now?!

 regards
 sridhar ranganathan

 _
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]