Re: [PHP-WIN] Problem With Pear::DB

2007-05-09 Thread Jody Williams
Any idea why this does work from the same server? Connect($dsn); $rs = $db->Execute("select [name] from sysobjects"); foreach($rs as $k=>$row) { echo $row[0] . ''; } $db->disconnect(); ?> This is using ADOdb instead of PEAR::DB. Jody On 5/9/07, Stut <[EMAIL PROTECTED]> wrote: Jody Will

[PHP-WIN] barcode webapp printing

2007-05-09 Thread Moore, Joshua
Hello, I am currently trying to print to my Z4MPlus barcode printer via a php web application. I first just want to test and see if I can get the printer to print anything using this code: When this is run it just returns with a blank screen without printing anything on my barcode prin

Re: [PHP-WIN] Problem With Pear::DB

2007-05-09 Thread Jody Williams
THat is what I thought. Just to confirm, I created an ODBC connection for the Windows 2k3 server to the Database using the Server name. I tried the IP in the PHP file and have the same results. Is there some kind of restriction that might be in place in Windows 2003? Jody On 5/9/07, Stut <[EM

Re: [PHP-WIN] Dynamically update mysql field

2007-05-09 Thread Dan Shirah
I think what you're asking is how can you have a form pull data from your database, populate the form, but then have fields to the side so the user and update the database based on the user input. Kind of like a "Change my personal information" page. I would do it like this: 1. Write your quer

Re: [PHP-WIN] problems with PHP

2007-05-09 Thread Dan Shirah
How does it "not" work? On 5/9/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote: Hi! I can only view html-files.. PHP don't seem to work? Windows 2003 Server, IIS 6... PHP 5.2... /Gustav -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Problem With Pear::DB

2007-05-09 Thread Stut
Jody Williams wrote: I have a situation where I am unable to connect to a Microsoft SQL 2005 Database from Windows Server 2003 (IIS + PHP 5.0.4). here is the code: getMessage().''.$db->getUserInfo()); } // no useful info. just trying to return something. $query = "select [name] as n from sysobj

[PHP-WIN] Problem With Pear::DB

2007-05-09 Thread Jody Williams
I have a situation where I am unable to connect to a Microsoft SQL 2005 Database from Windows Server 2003 (IIS + PHP 5.0.4). here is the code: getMessage().''.$db->getUserInfo()); } // no useful info. just trying to return something. $query = "select [name] as n from sysobjects order by [name]";

Re: [PHP-WIN] Dynamically update mysql field

2007-05-09 Thread Aleksandar Vojnovic
Sorry I still don't understand. Do you wish to display/reload the data on some timeout (ala AJAX) or you actually wish to update the data from this form into the MySQL? Aleksander sam rumaizan wrote: *Copy and paste my code in your editor and run it then you will understand what I need* *<-

[PHP-WIN] Error With fsocketopen() Call

2007-05-09 Thread James Crow
Hello all, I am having a problem sending an email from PHP 4.1.3/IIS 5.0. I am using a PHP Class called phpmailer. The problem occurs when the mailer tries to open a socket to my SMTP server. I can get the same error with this little bit of code: // Begin test code $fp = fsockopen("smtp.examp

Re: [PHP-WIN] Dynamically update mysql field

2007-05-09 Thread Alf Stockton
sam rumaizan wrote: Copy and paste my code in your editor and run it then you will understand what I need Why do all your field definitions contain 'name="update"' ? -- Regards, Alf Stocktonwww.stockton.co.za Fame is a vapor; popularity an accident; the only earthly certainty i

Re: [PHP-WIN] Dynamically update mysql field

2007-05-09 Thread sam rumaizan
Copy and paste my code in your editor and run it then you will understand what I need data You can change the information in any cell and submit it to mysql to update the origina

Re: [PHP-WIN] Dynamically update mysql field

2007-05-09 Thread Aleksandar Vojnovic
Of course it can be done, but please be more specific about what you wish to achieve. Aleksander sam rumaizan wrote: Dynamically update mysql field I have a function that will populate the table cells (TD) with data (information) from mysql database. What I need to do is to allow the

Re: [PHP-WIN] Dynamically update mysql field

2007-05-09 Thread Alf Stockton
sam rumaizan wrote: Dynamically update mysql field I have a function that will populate the table cells (TD) with data (information) from mysql database. What I need to do is to allow the user to update the cell information (information was pulled from mysql database) from the table cel

RE: [PHP-WIN] Re:PHP - MSSQL -5.2.2?

2007-05-09 Thread Chetan Graham
>Gustav says: >Anyone experienced trouble connecting to a MSSQL - Server but not every >time? (About every third time the connection succeeds, fourth time, fitfh >time and so on ...)(IIS + PHP + Win2003 Server) >Best regards >/Gustav Wiberg Gustav says: > > Thanx all! > > The problem is solved

[PHP-WIN] Dynamically update mysql field

2007-05-09 Thread sam rumaizan
Dynamically update mysql field I have a function that will populate the table cells (TD) with data (information) from mysql database. What I need to do is to allow the user to update the cell information (information was pulled from mysql database) from the table cells (TD) then the dat

RE: [PHP-WIN] Re:PHP - MSSQL -5.2.2?

2007-05-09 Thread Gustav Wiberg
Hi there! Thanx all! The problem is solved. The MSI Windows installer added an extra \ to the path!? ... /Gustav -Original Message- From: Chetan Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 8:27 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Re:PHP - MSSQL -5.

[PHP-WIN] Re:PHP - MSSQL -5.2.2?

2007-05-09 Thread Chetan Graham
Gustav Wiberg says: >MSSQL and PHP. Should I upgrade from PHP 5.0.1 to 5.2.2 for getting the >connection to MSSQL-database to work correctly? >Best regards >/Gustav Wiberg Yesterday, I decided to update PHP521 to 522 and update the MySQL server/client to the latest as I was having strange connec

[PHP-WIN] problems with PHP

2007-05-09 Thread Gustav Wiberg
Hi! I can only view html-files.. PHP don't seem to work? Windows 2003 Server, IIS 6... PHP 5.2... /Gustav -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php