On Fri, May 4, 2007 1:02 pm, Dan Shirah wrote:
> type = document.Submit.request_type.value
If you have only one "request_type" button, JavaScript can sorta
figure out which one you want here, cuz there's only one.
As soon as you have a whole bunch of them, it's got no idea which one
you want...
No problem. I just prefer to use extract() for areas that are only
pulling out a single set of data, or several sets with different variable
names within the array. Less typing, no reassignments necessary. Personal
preference, that's all.
On 5/4/07, Dan Shirah <[EMAIL PROTECTED]> wrote:
T
Thank you Daniel!!
I didn't do it exactly as you suggested, but you put me in exactly the right
direction! THANK YOU!
Below is how I have it working if anyone else is interested.
The javascript
function showAlert(id,type) {
alert( 'The type is:' + type + 'The ID is:' + id );
}
Th
I know you said it's a form but where does the browser realize that?
Using a hidden value such as that would require a POST or GET action via
a form. JavaScript wouldn't work for that. However, you could do something
like this:
function showAlert(id,type) {
alert('The type i
Okay, I think this is a 1/2 PHP problem and 1/2 Javascript problem. And I
think my Javascript problem is being caused by my PHP. Follow?
The code below is a loop of records returned from my query:
1 - If the result is not empty it will loop through the results.
2 - It assigns variables based o
Yes, my apologies. I call the script by scriptname.php?MasterPage=1 or
2 or whatever...
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 4:45 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Loop Problem
[EMAIL PROTECTED
[EMAIL PROTECTED] wrote:
Ok, here's what I got. I'm trying to create an entire site that grabs
all it's information (Page content, titles, link info, etc.) from a
MySQL database. In this site I would like to have sub pages of master
pages. For instance, Page 1 is a master page, Page 2 is a
Ok, here's what I got. I'm trying to create an entire site that grabs
all it's information (Page content, titles, link info, etc.) from a
MySQL database. In this site I would like to have sub pages of master
pages. For instance, Page 1 is a master page, Page 2 is a sub page of
Page 1, and Pa
Hi All,
I'm currently working with a friends that want to use irc protocol at
his work cause there is only http proxy.
so it is very easy, i found phpIRC and everything works fine...He is
very happy
i've just seen that some process are always connected. this is really
weird. so i started to
9 matches
Mail list logo