Re: [PHP-WIN] Opening Search results in a New Window

2004-06-10 Thread Sudeep Zamudra
Hi Raj, I would suggest u to use javascript.window.open() function. There u can specify the parameters of the new window to be open. ...SuDeEp... Raj Gopal <[EMAIL PROTECTED]> wrote: Hi All, I have a Form with a Search button and when the user types the Search word and clicks on Search,

Re: [PHP-WIN] Opening Search results in a New Window

2004-06-10 Thread Steve Douville
Have the form button call a javascript function that opens the new window and sends the form data to that window to be queried. Then when data is returned from the search, it will appear in the new window. - Original Message - From: "Raj Gopal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

[PHP-WIN] Opening Search results in a New Window

2004-06-10 Thread Raj Gopal
Hi All, I have a Form with a Search button and when the user types the Search word and clicks on Search, I would like to open a New Window and present the search results.I have already developed a PHP function using Oracle oci8.dll and tested it. It takes a search criteria as Input, connects to

Re: [PHP-WIN] output html reports to printer and not browser

2004-06-10 Thread Alejandro César Garrammone
I think if you look in the manual, it says something about this on the appendix. Then you must configure the printer on the php.ini (look at the bottom of it) Hope this helps, Alex - Original Message - From: "Brent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 10, 2004

[PHP-WIN] output html reports to printer and not browser

2004-06-10 Thread Brent
Howdy, Are there any php commands or otherwsie to send a report made in html to a selected printer locally and not go to the browse screen if a link was selected Brent. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] R: [PHP-WIN] Problem No of weeks returned by date function

2004-06-10 Thread Francesco . Marsan
There are 2 different ways to calculate the week number: the date() function only provides for one. The other one (called "ISO") can be calculated using this function, taken from the online notes to the PHP manual (so always back to RTM): function ISOWeek($y, $m, $d) { $week=strftime("%W", mktim

RE: [PHP-WIN] Problem No of weeks returned by date function

2004-06-10 Thread Svensson, B.A.T. (HKG)
I guess both function just have different interpretation (and none of them are incorrect), the best thing you can do is to translate any occurence of week 53 to week 1, that should solve your problem of losing data in the start-end case. An alternative solution is to explain for the customer how i