JavaScript with parameters
JavaScript with parameters
am 29.01.2007 13:24:38 von Alf C Stockton
How do I complete a command to be issued by JavaScript with parameters.
The above is the short version, the long sad story follows...:-)
I have a PHP created web page consisting of data in a table. One of the
fields in this table is populated by the PHP variable, $EarnTypeID. If a
user clicks on the appropriate field I want to issue a JavaScript
request for confirmation before issuing the JavaScript command that then
calls another PHP script that will carry out the required task based on
the value in the $EarnTypeID.
ie I want to "location = 'earntypeDelete.php?UID=$EarnTypeID' but have
the $EarnTypeID contain the correct value.
--
Regards,
Alf Stockton www.stockton.co.za
You'll be sorry...
My email disclaimer is available at www.stockton.co.za/disclaimer.html
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: JavaScript with parameters
am 29.01.2007 15:45:31 von Bill Bolte
Pass the id through to the JS function using a JS onClick event. Ie:
href=3D"#" onClick=3D"MyFunction('XXXXXXX')";>XXXXXX
-----Original Message-----
From: Alf Stockton [mailto:alf@stockton.co.za]=20
Sent: Monday, January 29, 2007 6:25 AM
To: php windows
Subject: [PHP-WIN] JavaScript with parameters
How do I complete a command to be issued by JavaScript with parameters.
The above is the short version, the long sad story follows...:-)
I have a PHP created web page consisting of data in a table. One of the
fields in this table is populated by the PHP variable, $EarnTypeID. If a
user clicks on the appropriate field I want to issue a JavaScript
request for confirmation before issuing the JavaScript command that then
calls another PHP script that will carry out the required task based on
the value in the $EarnTypeID.
ie I want to "location =3D 'earntypeDelete.php?UID=3D$EarnTypeID' but =
have
the $EarnTypeID contain the correct value.
--
Regards,
Alf Stockton www.stockton.co.za
You'll be sorry...
My email disclaimer is available at www.stockton.co.za/disclaimer.html
--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
IIS, and how it reads the Path/Environment variables
am 29.01.2007 17:16:49 von Austin Gruenweller
Greetings,
I realize this may not be the proper place to ask this question -- but
as it's in relation to a PHP install I thought someone here might know.
I'm trying to install PHP with the MSSQL extension on a Windows 2003
production environment. I'm not a network admin, but have been given
special permission to do so for a project I'm trying to implement. I
have successfully gotten PHP to function properly, however it will not
load the MSSQL or any SQL extension for some reason.
I've been told that I need to restart IIS in order to get it to work,
but I have special reason to believe that's not true. IIS will shut
down idle worker processes after a declared amount of time and when it
gets called again will start it anew. That being said, I've
successfully changed PHP configurations and seen a change in the output
of phpinfo(); or broken PHP all together.
It's just not picking up the extensions for some reason. I've been told
that restarting IIS is not an option available to me.
I will provide a phpinfo page privately to someone if they're willing to
help me with this..
Thanks in advance,
-Austin
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: IIS, and how it reads the Path/Environment variables
am 29.01.2007 19:07:42 von Niel Archer
Hi
=46rom what you're saying I assume MSSQL is not listed in the phpinfo page.
Have you enabled the extension in the php.ini file?
Niel
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: IIS, and how it reads the Path/Environment variables
am 29.01.2007 19:19:56 von Austin Gruenweller
I have not enabled the extension in the php.ini file, funny thing -- I
convinced the network admin to restart the server and now everything
loads properly. (The extension is still commented out) I believe the
ISAPI module just reads the extension folder recursively?
Looks like IIS will not read changes to the environment variables
withhout a restart.
Problem solved! Thanks for your consideration Niel!
Niel Archer wrote:
> Hi
>
> From what you're saying I assume MSSQL is not listed in the phpinfo page.
>
> Have you enabled the extension in the php.ini file?
>
> Niel
>
--
_ _ _
|_|@|_| Good order is the foundation of all things.
|_|_|@| http://php.uat.edu/~ausgruen/
|@|@|@| Public key available on pgp.mit.edu
¯ ¯ ¯
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: IIS, and how it reads the Path/Environment variables
am 29.01.2007 20:08:57 von Niel Archer
Hi
> Looks like IIS will not read changes to the environment variables
> withhout a restart.
that's pretty typical of most software. Check them on startup and have
no way to know of changes after
Niel
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php