On Tue, October 11, 2005 3:11 pm, Dan McCullough wrote:
> Its been awhile since I tried this so I was wondering if anyone had
> any luck with this.
>
> I need to get a list of tables from a database, which means I have to
> run a function, I would like to have an onChange event run when I
> change
As someone else mentioned, this isn't really PHP. You could be using
any server side language. It's really a javascript question.
But to answer your question, the functionality you are looking for
has lately been being solved by using AJAX. Search the list archives
for some links to some qu
First, I want to beat everyone to the punch in yelling at you.. "This is not a
PHP question!!! RTFM STFU NOOB" or something stupid like that. hah
But, maybe it seems like it COULD be a PHP question. And it's definitely
relevant to PHP development, so how about we give a REAL answer instead of
Its been awhile since I tried this so I was wondering if anyone had
any luck with this.
I need to get a list of tables from a database, which means I have to
run a function, I would like to have an onChange event run when I
change my selection in a select menu, that would send the value for
the se
meant.
> [Original Message]
> From: Jason Wong <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Date: 07/08/2004 8:00:38 PM
> Subject: Re: [PHP] onchange drop down list and text field
>
> On Friday 09 July 2004 10:41, Curlys wrote:
>
> > I would like to as
On Friday 09 July 2004 10:41, Curlys wrote:
> I would like to ask another help from u all ,
> I have an data submitable form . There is some fields. It is connected with
> mysql database. so I want to put to these fields as drop down list as well
> as text input area. say , if when i adding data
hi ,
I would like to ask another help from u all ,
I have an data submitable form . There is some fields. It is connected with mysql
database. so I want to put to these fields as drop down list as well as text input
area.
say , if when i adding data , if it is in the database there should be
[snip]
I have 2 list fields in a form. The second is populated basing on
selection in field 1. Can anyone pls tell me how to do this in PHP ?
[/snip]
you can't, onchange is fired with javascript on the client. You have a
number of ways you can do it a few are.
1. have on change submit the form to
I have 2 list fields in a form. The second is populated basing on
selection in field 1. Can anyone pls tell me how to do this in PHP ?
You can't do this with PHP. PHP is server side which means it only
reacts after a request has been made to the server (by loading a Web
page or submitting a form
I have 2 list fields in a form. The second is populated basing on selection in field
1. Can anyone pls tell me how to do this in PHP ?
getelementbyid('AlarmReport').value will not get the value of the
selected option. Use
this.options[this.selectedIndex].value
Session var can be set only on the server, you must post the form to get
the value or use some javascript to do it, eg:
img = new Image();
img.src="set_session_var.php?va
hi,
I have a SELECT in which I would like to store the variable value in the
Session variable of onchange event of the SELECT. I am stuck up with the
syntax could u please help.
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi there in my form i have a function to output a number of upload form
boxes , this function will post the ammount
function number_upload_boxes($num_boxes){
echo 'url("action",
"action=addphotos").'">'."\n";
echo 'Number of Photos To Upload:'."\n";
echo
You have to put the variable into a hidden form element or tack it onto a
URL in order to pass it to the PHP page.
---John Holmes...
- Original Message -
From: "Mihaela Dupret" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 28, 2002 6:51 AM
Subjec
Hy,
Is it possible to use a javascript variable into php or
to change it into php variable?
I have a list with the files from a directory, this works
fine. For the event onchange I want to show the content of
the file chosen.
So, in the code, the variable "inputf" has the file name
that I want
15 matches
Mail list logo