Re: [PHP] Crystal Reports in PHP via COM - SelectPrinter problem

2003-03-31 Thread Andrew Powell
:\\athermal\\reports\\backlog.rpt, 1); $creport-SelectPrinter(winspool, HP LaserJet 1200 Series PCL, Ne01:); $creport-PaperOrientation = 0; $creport-PrintOut(False); aap Andrew Powell wrote: I am receiving an error when attempting to use the SelectPrinter method

Re: [PHP] Grid edit form

2003-03-28 Thread Andrew Powell
For the form: for ($i=0;$i=59;$i++) { echo trtdinput type=text name=myfield_.$i. value=.$somedata[$i]./td/tr; } For the post back: for ($i=0;$i=59;$i++) { $somedata[$i] = $_REQUEST['myfield_'.$i]; } aap Daniel Harik wrote: Hello guys, I'm trying to make grid form that will allow to edit

Re: [PHP] Grid edit form

2003-03-28 Thread Andrew Powell
Then append the id to the input name. e.g. For the input form: while (odbc_fetch_row($rs)) { echo trtdinput type=text name=myfield_.odbc_result($rs, ID). value=.odbc_result($rs, MyFieldValue)./td/tr; } And to read the data: while (odbc_fetch_row($rs)) { $sql = update MyTable set

[PHP] Crystal Reports in PHP via COM - SelectPrinter problem

2003-03-27 Thread Andrew Powell
I am receiving an error when attempting to use the SelectPrinter method in the CrystalDesignRunTime.Application COM object. The following code: - $crapp = new COM(CrystalDesignRunTime.Application); $creport = $crapp-OpenReport(d:\\athermal\\reports\\backlog.rpt, 1);

Re: [PHP] Stupid question perhaps?

2003-03-27 Thread Andrew Powell
Tom: The install.txt file that came with PHP 4.3.1 states: At this time, support for Apache 2 is experimental. It's highly recommended you use PHP with Apache 1.3.x and not Apache 2. aap Tom Tsongas wrote: I just recently upgraded to PHP 4.3.1 and Apache 2.0.44. I had been