[PHP] Re: [PHP-DB] Creating a pdf document

2002-01-24 Thread Daniel Ems

Mihai,

There is a php class that can generate pdf documents without the 
dll's/libraries required by other methods:

http://ros.co.nz/pdf/

You can definitely use the results of a database query to create a pdf!  
Enjoy!

Daniel Ems


On Wed, 23 Jan 2002, Mihail Bota wrote:

> Hello,
> 
> I was wondering if I could save the result of a query in a pdf document. I
> looked for any functions that might help, but I got confused because I
> could not see how/where exactly to insert the necessary .dll's. I'd like
> to do this (saving the output of a query) by using mysql installed on a
> Irix machine, and PHP4.
> If this is not possible, could I create a pdf document or a word document
> from a query from either Access database or mysql on a win2k system,
> PHP4.1?
> Any references that might help?
> Thanks for your help!
> 
> Mihai


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: [PHP-DB] difference !!??

2002-02-07 Thread Daniel Ems

Bart,

See this page for an explanation of quotes inside array brackets:

http://www.php.net/manual/en/language.types.array.php

Basically, the correct way to do it is to _always_ use quotes (single
quotes for strings without variables, and double quotes for strings with
variables).  So your example below should use format #2 since there are no
variables to expand.  Format #1 below is deprecated, and I can attest to
weird behavior when you use $row[$column_name] without double quotes.  
Hope this helps!

Daniel Ems


On Thu, 7 Feb 2002, B. Verbeek wrote:
> Hello,
> 
> What's the difference between:
> 
> 1.- $row[column_name];
> 2.- $row['column_name'];
> 3.- $row["column_name"];
> 
> ?
> 
> ragards Bart
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php