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
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
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
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
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
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!
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
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.
--
"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/
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
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
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
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
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
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
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
$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
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
>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
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 ..
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
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
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" <[
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
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
25 matches
Mail list logo