[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 throu

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

2002-01-24 Thread Mihail Bota
Thanks a lot guys! This really helps a lot. MySql is not installed on my machine, so it would take a while to install all the necessary libraries. I'll stick with the material given by Daniel, for the moment. Mihai -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EM

[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