[PHP-DB] printing errors

2005-08-02 Thread umeed
most of the time wen dealing with mysql, i get error bt i want to exactly know wt the error is due to. how can i print specific error tht wil make it easy to know -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Printing with print functions under windows

2004-12-15 Thread antonio bernabei
Hi, I need to use the printer functions. I have some problems to have the output formatted as I want as to right justify numbers of variable size the starting position varies with the type of character chosen.Could anyone help me? Best regards Antonio Benrabei -- PHP Database Mailing List

[PHP-DB] Printing selected characters (strcnt?)

2004-07-15 Thread Vincent Jordan
I am trying to figure out how to select the first letter of from the form field print it then append by datetime. Here is an example: snip $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $name = $first_name . ' ' . $last_name $rma = ?strcnt($last_name), 1 . Datetime(?) //

RE: [PHP-DB] Printing selected characters (strcnt?)

2004-07-15 Thread Galbreath, Mark A
Isn't there a tokenizer method? Mark -Original Message- From: Vincent Jordan [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 5:31 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Printing selected characters (strcnt?) I am trying to figure out how to select the first letter of from

Re: [PHP-DB] Printing selected characters (strcnt?)

2004-07-15 Thread Matt M.
$first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $name = $first_name . ' ' . $last_name $rma = ?strcnt($last_name), 1 . Datetime(?) // takes the 1st character from $last_name and adds datetime in format of 715041200 $rma = substr ($last_name, 0 , 1).Your.Datetime; --

Re: [PHP-DB] Printing selected characters (strcnt?)

2004-07-15 Thread Matthew McNicol
Try this: // takes the 1st character from $last_name and adds // datetime in format of DDMMYYhhmm $rma = substr( $last_name, 0, 1) . date(dmyHi); See: aspn.activestate.com/ASPN/docs/PHP/function.substr.html uk2.php.net/date Vincent Jordan wrote: I am trying to figure out how to select the first

[PHP-DB] Printing Forms

2004-05-21 Thread Mike Koponick
I have a need to extract data from MySQL via PHP (which I can do easily) but I need to put that data into a form. The current form is a WORD doc, and we type in the information needed and print/PDF/E-Mail the form to the appropriate people. What I would like to do is use the WORD form and place

[PHP-DB] Printing + without encoding as %2B

2004-05-11 Thread J. Alejandro Ceballos Z.
While calling a php with a parameter, the plus sign is interpreted as a white space. Is any solution to prevent this in the php page, not before calling it or previously urlencoding? --- While calling http://mysite.com/mypage.php?id=29d9f+Kr2/4=otherdata=xx ?php echo id = $id; ?

Re: [PHP-DB] Printing Issue

2003-06-10 Thread Becoming Digital
] Sent: Sunday, 08 June, 2003 22:13 Subject: [PHP-DB] Printing Issue Hi All, I have a problem in printing database. I have drawn some data from the MySQL and print to A4 paper. When the data are more than 1 page, it has to print on other A4 paper. The problem is, I need the program to print the same

[PHP-DB] Printing Issue

2003-06-09 Thread birdto
Hi All, I have a problem in printing database. I have drawn some data from the MySQL and print to A4 paper. When the data are more than 1 page, it has to print on other A4 paper. The problem is, I need the program to print the same heading in every page. How can I do this? Regards, Berthold

[PHP-DB] Printing date as 04-06-03

2003-06-05 Thread Steve B.
Hi all, M-D-Y with leading 0 is how I would like to print dates at my exciting web page. I am trying DATE_FORMAT and my provider locked up?? :(= How would you print this? thx steve http://www.aifiles.com __ Do you Yahoo!? Yahoo! Calendar - Free online calendar

Re: [PHP-DB] Printing date as 04-06-03

2003-06-05 Thread Becoming Digital
print date(m-d-y); http://us3.php.net/manual/en/function.date.php Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: Steve B. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, 04 June, 2003 17:58 Subject: [PHP-DB] Printing date as 04-06-03 Hi all

Re: [PHP-DB] printing with php

2003-05-29 Thread Ronan Chilvers
Crikey !! However, this is still server-side, and the impression I got was that the printing was going to be client-side. I may be wrong though, in which case, this seems to do the trick just fine BTW, its also on the PHP site ... printer module. Ronan e: [EMAIL PROTECTED] t: 01903 739

[PHP-DB] printing with php

2003-05-28 Thread carol
Hy there, I have a problem... I have a linux server, apache, php, and mysql instaled. I can make all kind of queries but I nedd to printed them (using the browser but not usig file-print-page setup-) in a specified format (like A3, landscape, border=2cm, and all kind of things like

Re: [PHP-DB] printing with php

2003-05-28 Thread Ronan Chilvers
Hi Carol I don't think you'll strike lucky here !! PHP is a server-side, not client-side language and therefore doesn't know anything about the client's printer or its settings. You can use PHP to create a page that is formatted nicely and will therefore print well. There are also some IE

[PHP-DB] Printing anchor link in results

2003-03-21 Thread Achieve IT
Hello, I am new to PHP and am wondering how to print a variable an external link. In the example below, the 'web_pro' variable has the format, www.mycompany.com . How can I make this a clickable link? echo \ntr\n\ttd bgcolor=\silver\ . bWeb: /b . $arr['web_pro'] .

RE: [PHP-DB] Printing anchor link in results

2003-03-21 Thread Hutchins, Richard
-Original Message- From: Achieve IT [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 8:11 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Printing anchor link in results Hello, I am new to PHP and am wondering how to print a variable an external link. In the example below

[PHP-DB] Printing from the browser

2003-03-07 Thread Antonio Bernabei
Hi, I don't know if this the right place to ask for. I want to print a page on a jet printer . I thought to prepare with php a page on the browser and let the user print through the print command of the browser (but I don't want the the headers and the footers to be printed). Alternatively is

RE: [PHP-DB] Printing from the browser

2003-03-07 Thread Ruprecht Helms
Hi Antonio Bernabei, Hi, I don't know if this the right place to ask for. I want to print a page on a jet printer . I don't know if it is possible to do printingjobs from serverside. To print a site I think it's better by writing a little javascriptpart into the page that should be printed.

Re: [PHP-DB] printing repeat table headers

2003-02-16 Thread Ignatius Reilly
- Original Message - From: Sam Folk-Williams [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 6:26 PM Subject: [PHP-DB] printing repeat table headers Hi, I'm printing the results of a DB query that gets a 300 row staff directory. All 300 rows appear on one

[PHP-DB] printing repeat table headers

2003-02-15 Thread Sam Folk-Williams
Hi, I'm printing the results of a DB query that gets a 300 row staff directory. All 300 rows appear on one page. The top of the HTML table has basic headers like First Name, Last Name, Email etc, then all 300 rows print underneath the headers. What I would like to do is have those headers repeat

Re: [PHP-DB] printing an array

2002-10-24 Thread Ignatius Reilly
Message - From: Chris Grigor [EMAIL PROTECTED] To: PHP Gen [EMAIL PROTECTED] Cc: PHP DB [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 10:07 AM Subject: [PHP-DB] printing an array Hey there all Im sure that someone out there can answer this question.. I have a problem, how can I print

Re: [PHP-DB] printing an array

2002-10-24 Thread Jason Wong
On Thursday 24 October 2002 19:39, Chris Grigor wrote: If you look further down where I print print trtd$row-Routine_Tests_Count/td; The value $row-Routine_Tests_Count is various numbers that need to printed in sepearte columns (Test 1 test 2 etc). So this means I have to put it into an

[PHP-DB] printing an array

2002-10-24 Thread Chris Grigor
Hey there all Im sure that someone out there can answer this question.. I have a problem, how can I print each element in an array so that is returned into a table? eg table width=100% th width=25% nowrap Test1 /th th width=25% nowrap Test2 /th th width=25% nowrap Test3 /th th width=25% Test4

[PHP-DB] Printing?

2002-08-21 Thread James Hatridge
Hi all... I'm useing SuSE 8.0, mysql, and PHP with a HP L5 printer. Could someone give me a hint on how to print a form to my HP? What I want to do is print (on paper G) monthly customer statements. Thanks JIM -- Jim Hatridge Linux User #88484

Re: [PHP-DB] printing php variable into html print $result; ?

2002-01-03 Thread louie miranda
Oh YEAH!! it work!! YEHEY!! yahoo!!! thanks rick! =) louie - Original Message - From: Rick Emery [EMAIL PROTECTED] To: 'louie miranda' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, January 04, 2002 4:51 AM Subject: RE: [PHP-DB] printing php variable into html print $result

[PHP-DB] printing php variable into html print $result; ?

2002-01-03 Thread louie miranda
Hi, is it possible to print the sql query? i mean i want to print the output of the command SELECT * FROM members; and output it into html, i tried print $result; -- it gives me different output.. Resource id #2 ty, louie... # PHP SCRIPT ### html

RE: [PHP-DB] Printing out usernames and logins

2001-05-14 Thread Michael Rudel
- From: Jordan Elver [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 7:35 PM To: PHP DB List; PHP General List Subject: [PHP-DB] Printing out usernames and logins Hi, I'm trying to print out a list of usernames and the times they logged in. I want to print it out like: joe fred

Re: [PHP-DB] Printing out usernames and logins

2001-05-14 Thread Jordan Elver
:[EMAIL PROTECTED] internet: http://www.suchtreffer.de ___ -Original Message- From: Jordan Elver [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 7:35 PM To: PHP DB List; PHP General List Subject: [PHP-DB] Printing out

[PHP-DB] Printing out usernames and logins

2001-05-14 Thread Jordan Elver
Hi, I'm trying to print out a list of usernames and the times they logged in. I want to print it out like: joe fred frank Then when you click on one of the names it show just there login times, like this, so if I click on fred it prints out: joe fred - login time - login time - login time