RE: [PHP-DB] Another question

2003-12-15 Thread Duane Lakoduk
You can avoid the prompt when using javascript to close the window if you use this: function closeit(){ window.opener = top; window.close(); } Now, window will close without prompting. hth, Duane > -Original Message- > From: Constantin Brinzoi [mailto:[EMAIL PROTECTED]

RE: [PHP-DB] Another question

2003-12-15 Thread Duane Lakoduk
7;ve tried to use this function, but it doesn't work on IE 5.0 > On Opera 7.21 it works. > So on what browser you've tested it? > > Mike U. Petrov > > > -Original Message- > From: Duane Lakoduk [mailto:[EMAIL PROTECTED] > Sent: Monday, December 15, 20

RE: [PHP-DB] Another question

2003-12-15 Thread Duane Lakoduk
5, 2003 7:26 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] Another question > > > Really? > What is the reason for that?... > > Muhammed. > > - Original Message - > From: "Duane Lakoduk" <[EMAIL PROTECTED]> > To: "'Const

RE: [PHP-DB] php-db Forms-Radio problems

2004-01-27 Thread Duane Lakoduk
It appears the intention of the text input is to provide an "other" job type. Instead of removing it, rename it to "job_other" or something. Then test for the value of "job", if "other" use "job_other" value. > -Original Message- > From: Stuart [mailto:[EMAIL PROTECTED] > Sent: Tuesday

RE: [PHP-DB] Unable to connect to MSSQL with PHP through a firewall

2004-01-29 Thread Duane Lakoduk
I came across this problem when I separated my web applications and database (sql 2000) onto separate servers. The problem is that Windows does not (cannot) pass user authentication information to SQL server ... if they are different machines. I used Mixed authentication and added user accounts/g

RE: [PHP-DB] Windows XP and PHP

2004-02-07 Thread Duane Lakoduk
> > I installed Apache/Perl/PHP onto a Windows XP machine today > and ran into > this problem when I tried to access the MS SQL Server via PHP: > > "can't load dynamic library php_mssql.dll" > > The dll is in the extensions directory. Apache is running fine. Any > ideas, on what might be wro

RE: [PHP-DB] Windows XP and PHP

2004-02-07 Thread Duane Lakoduk
> > I had this bookmarked too, and I had forgotten about it. Would > installing the MDAC Microsoft have on their site install the > ntwdblib.dll? > Don't think so, I have current MDAC installed and it is not on my ws. I just found this on: http://www.php.net/function.mssql-connect

RE: [PHP-DB] Windows XP and PHP

2004-02-07 Thread Duane Lakoduk
> > I had this bookmarked too, and I had forgotten about it. Would > installing the MDAC Microsoft have on their site install the > ntwdblib.dll? > I just checked php-4.3.4-WIN32.zip and ntwdblib.dll is in there. Drop it in your extensions directory and make sure the line: extension=php_mss

RE: [PHP-DB] checkboxes and loops

2004-03-29 Thread Duane Lakoduk
I am relatively new with PHP, but have done this many times with ASP. First, I would not assign the counter value to the checkbox as you are now. Use the ID (identity) value from the database for the applicant record instead. Since ONLY the checkboxes that are checked will be submitted, you can ju

RE: [PHP-DB] Form Actions in PHP

2003-07-16 Thread Duane Lakoduk
Don't know if this got answered yet. I usually do this by checking the variable before submitting the form and then adjusting the form action. It turns out to be a JavaScript problem. if(variable=="a"){ document.form.action="location_one.cgi"; }else if(var=="b"){ document.form.act

RE: [PHP-DB] Breaking down a table field....

2003-08-14 Thread Duane Lakoduk
I you may already have this, but just another 20 pesos SELECT Unit, COUNT(Unit) [Quantity] FROM GROUP BY Unit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 8:52 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-D

RE: [PHP-DB] Saving state

2003-09-16 Thread Duane Lakoduk
> From: Shiloh Madsen [mailto:[EMAIL PROTECTED] > > Sorry about the cross posting, as im not exactly sure what > would be the best method to handle this, but im trying to set > up a web application with a tabbed interface. Each tab will > have a form to enter data, and the requisite save and > cont

RE: [PHP-DB] Saving state

2003-09-16 Thread Duane Lakoduk
hink > yours would work, > and mine would work, depending on the circumstances :) > > Maybe we should be posting this thread to the mailing list? > > Luke > - Original Message - > From: "Duane Lakoduk" <[EMAIL PROTECTED]> > To: "'Luke Skywal

RE: [PHP-DB] Saving state

2003-09-16 Thread Duane Lakoduk
I guess I understood Shiloh to mean that he didn't want to perform inter-tab/page queries to reload the data from the previous/next tab. I still believe that using the multipart tabbed form, there is no need to "save" anything when switching from tab to tab because the form never reloads during a