[PHP] RE: Print or Echo takes lots of time

2006-09-27 Thread Sancar Saran
Hi, Thanks for supporting, because of the approaching to the problem, I don't want to change generate once echo once style. And I found solution like this, I split  variable into an array and generate loop for printing, mostly fix the problem. And more interesting, some times problem repeates

Re: [PHP] Re: Print or Echo takes lots of time

2006-09-26 Thread Richard Lynch
On Tue, September 26, 2006 4:08 am, Colin Guthrie wrote: > Google Kreme wrote: >> On 25 Sep 2006, at 06:11 , Sancar Saran wrote: >>> $strPage = " yada dayda"; >>> ... >>> $strPage.= " another html tags"; >>> ... >>> $strPage.= getSqlDataAndCreateSomeHtmlCOde(); >> >> If this is generating hundred o

[PHP] Re: Print or Echo takes lots of time

2006-09-26 Thread Colin Guthrie
Google Kreme wrote: > On 25 Sep 2006, at 06:11 , Sancar Saran wrote: >> $strPage = " yada dayda"; >> ... >> $strPage.= " another html tags"; >> ... >> $strPage.= getSqlDataAndCreateSomeHtmlCOde(); > > If this is generating hundred of K of HTML, use ' instead of " > > (yes, it's faster). In this

[PHP] Re: Print or Echo takes lots of time

2006-09-25 Thread Colin Guthrie
Sancar Saran wrote: > Hi, > > When I was check the performance of my system I found interesting resuts. > > My code stores html output into a variable. When page creation complete I > printed out the variable. > > Problem was generation html code takes 0.5 second and just > echo $strPage takes

[PHP] Re: Print out all the files in a directory

2004-04-17 Thread Rainer Müller
Pooya Eslami schrieb: Hi, I want to write a simple script that looks for all the files with a common name and show them, like all the .mp3 files or all the .doc files. How do I go about it? Thank you, -Pooya Look in the manual at php.net, especially: http://php.net/opendir http://php.net/readdir ht

[PHP] Re: Print PHP Code in Color on Dreamweaver MX

2004-03-30 Thread Jason Barnett
Ryan Munevar wrote: Hello, Does anyone know how to actually print PHP code in Color to actual paper from Dreamweaver MX? We like to paste the code up to the wall here to get a bigger look at it. I know you can do it in BBedit, but MX is what we like. Just curios. Thanks!

[PHP] Re: Print All parameters

2004-01-28 Thread DvDmanDT
This is what I do, to get EVERYTHING: But this will also get all functions and constants.. use only the first command for only the variables.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Mike Mapsnac" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Is it

[PHP] Re: Print..

2003-11-27 Thread Kim Steinhaug
Fix your clock! Post like theese really screws up the layout in my newsreader! -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. --

[PHP] Re: Print help

2003-07-21 Thread Kevin Stone
"Ron Allen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What I would like to do is to make an optional page that can print > information to a specified printer. Can PHP do this? > If so how??? > > Please help!!! Look in the manual under 'printer'.. http://www.php.net/manual/en/

[PHP] Re: print html code

2003-07-02 Thread erythros
try echo ie... echo "this is a paragraphr\n\"; the r\n\ is a return character and newline character. "Karina S" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I want to make a php site which can generate a html code and display it on > the screen. (Display the code itsel

[PHP] Re: print html code

2003-07-02 Thread erythros
try echo ie... echo "this is a paragraphr\n\"; the r\n\ is a return character and newline character. "Karina S" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I want to make a php site which can generate a html code and display it on > the screen. (Display the code itsel

[PHP] Re: print all variables

2003-06-18 Thread Scott Fletcher
If you want to see any data beside the form, then you can do this... print_r($GLOBALS); Only if you want to see data beside the submitted form. "Matt Palermo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Could anyone tell me how to print all the variables and values from a submitt

[PHP] Re: print all variables

2003-06-18 Thread Skex
Depending on Form Method (example uses POST METHOD) echo ""; print_r($HTTP_POST_VARS); echo ""; "Matt Palermo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Could anyone tell me how to print all the variables and values from a submitted form, so that I can check them? Thanks, Ma

Re: [PHP] Re: Print bgcolors in table

2002-12-16 Thread Ernest E Vogelsinger
At 10:55 16.12.2002, Bogdan Stancescu said: [snip] >As far as I can see, this is not even an HTML question - it's more of a >user agent question. [snip] Actually the user agent has the final authority on how document

[PHP] Re: Print bgcolors in table

2002-12-16 Thread Bogdan Stancescu
As far as I can see, this is not even an HTML question - it's more of a user agent question. Lars Espelid wrote: Hello, I have been looking for a newsgroup where I can post questions about css/html. I did not find any. Any suggestions? If you want a break from php, my problem is as follows: Ha

Re: [PHP] Re: print to file

2002-12-03 Thread Bryan Koschmann - GKT
Thank you! I feel like an idiot, kept getting it mixed up with perl. :) Bryan On Tue, 3 Dec 2002, Thomas Seifert wrote: | |$fp=fopen("filename","a"); |fputs($fp,"text to the file"); |fclose($fp); | | |Regards, | |Thomas | |On Mon, 2 Dec 2002 15:52:23 -0800 (PST) [EMAIL PROTECTED] (Bry

[PHP] Re: print to file

2002-12-02 Thread Thomas Seifert
$fp=fopen("filename","a"); fputs($fp,"text to the file"); fclose($fp); Regards, Thomas On Mon, 2 Dec 2002 15:52:23 -0800 (PST) [EMAIL PROTECTED] (Bryan Koschmann - Gkt) wrote: > Okay, this is probably stupid, but how do you print to a file? > > Thanks, > > Bryan > -- PHP General M

[PHP] Re: Print Question

2002-07-09 Thread Kondwani Spike Mkandawire
I wasn't in the office hence haven't visited this group for a while... Here's an idea though I still may not understand the whole situation but from what I think it is here goes: I guess you will have to mix javascript and php in the following manner... use onclick for a particular HTML variable

[PHP] Re: Print Question

2002-07-05 Thread Richard Lynch
>Question I have is > >I want to run a print job of 200+ invoices > >I have a javascript code to open a print dialog box and >Then go to next invoice and do the loop.. > >Problem I am having is that I want it to pause if the ok button on the >dialog >Box is not pressed.. > >When I run the scr

[PHP] RE: print on top

2002-04-17 Thread Gurhan Ozen
Hi Jule, You need to sort your records with "ORDER BY" clause . I don't know what your table looks like and obviously don't know if you have suitable columd for it.. Say you have a newsid field defined with int datatype with auto_increment property, then you can issue your statement as "SELECT ..

RE: [PHP] Re: Print ONCE ONLY?????

2002-01-12 Thread Pavel Kharitonov
LIST Subject: [PHP] Re: Print ONCE ONLY? Dani wrote: > Hi Again! > > Why does this print only one record? > > 1. I have checked on the table on MYSQL and I have 2 records with this > data. > 2. Can I actually use the word "and" twice or three times for filtering

[PHP] Re: Print ONCE ONLY?????

2002-01-12 Thread Michael Kimsal
Dani wrote: > Hi Again! > > Why does this print only one record? > > 1. I have checked on the table on MYSQL and I have 2 records with this > data. > 2. Can I actually use the word "and" twice or three times for filtering > the data that I need during query?? (example: $query = "select * from

[PHP] Re: print on printer

2001-11-01 Thread Chris Lee
javascript javascript = client side php = server side unless you want to print on a printer on the server, your goign to need to use javascript. not only are you asking in the wrong forum, real answer is 'I dont know' sorry cant help ya bud. -- Chris Lee [EMAIL PROTECTED] "Luz Lopez" <[

[PHP] Re: Print statements , syntax , usage, etc

2001-10-22 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Ricardo Fitzgerald) wrote: > *print 'Ref:';* > *print '$reference';* > > the problem is with the output, the table is fine but the variable $reference > otputs it's name $reference instead of it's value i.e. 345. I'm getting mad > because I k

[PHP] Re: Print out the form When click Submit?

2001-08-30 Thread Raphael Pirker
if there were, webmasters could take control over your printer using their website. what a horrible thought! you can start a "request for print" however, simply by adding : this will open a print window... Hope that helps, Raphael -- PHP General Mailing Li