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

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 wrong? I

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:

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

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, January

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
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, 2003 4:18 PM To: 'Constantin Brinzoi'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Another

RE: [PHP-DB] Another question

2003-12-15 Thread Duane Lakoduk
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: 'Constantin Brinzoi' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, December 15, 2003 3:17 PM

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 continue

RE: [PHP-DB] Saving state

2003-09-16 Thread Duane Lakoduk
: Duane Lakoduk [EMAIL PROTECTED] To: 'Luke Skywalker' [EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 12:04 PM Subject: RE: [PHP-DB] Saving state Yes, I think so. Are you using the querystring to pass the name=value pairs for each form? If so, you could run into a querystring length

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

2003-08-14 Thread Duane Lakoduk
I think you may already have this, but just another 20 pesos SELECT Unit, COUNT(Unit) [Quantity] FROM table 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-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){