[PHP] Re: [PHP-DB] if variable is equal to 2 through 4

2002-02-06 Thread Mihail Bota

try this:
if ($v=2  $v=4) {
echo ...;
}

mihai
On Wed, 6 Feb 2002, Jay Fitzgerald wrote:

 i am currently using this code:
 
 if ($variable == 2) || ($variable == 3) || ($variable == 4)
 {
 echo hello;
 }
 
 how would I write it if I wanted to say this:
 
 if $variable == 2 through 4 ???
 
 
 
 Should you have any questions, comments or concerns, feel free to call me 
 at 318-338-2034.
 
 Thank you for your time,
 
 Jay Fitzgerald, Design Director - CSBW-A, CPW-A, CWD-A, CEMS-A
 ==
 Bayou Internet..(888) 
 30-BAYOUhttp://www.bayou.com
 Mississippi Internet...(800) 
 MISSISSIPPI...http://www.mississippi.net
 Vicksburg Online..(800) 
 MISSISSIPPIhttp://www.vicksburg.com
 ==
 Tel: (318) 338-2034ICQ: 38823829 Fax: 
 (318) 323-5053
 
 
 -- 
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


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




[PHP] Creating a pdf document

2002-01-23 Thread Mihail Bota

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]