Re: [PHP] looking for a PDF generator class/library for PHP 5?

2013-05-18 Thread Ali Reza Sajedi

tcpdf is a good choice

ali

- Original Message - 
From: "dealTek" 

To: "PHP General list" 
Sent: Saturday, May 18, 2013 3:05 AM
Subject: [PHP] looking for a PDF generator class/library for PHP 5?


Hi all,

I'm looking into a good versatile PDF generator class/library to use with 
PHP 5? --- Preferably one which is maintained somewhat recently...


Mostly needed for basic pages, but I also have some longer reports (more 
than one  8.5" x 11" page) and it would be nice if  the pdf was able to 
split it up without losing part of the font when crossing page boundaries 
etc...




--
Thanks,
Dave - DealTek
deal...@gmail.com
[db-3]


--
PHP General 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



Re: [PHP] ODBC

2013-05-18 Thread Negin Nickparsa
do you have the driver in linux?
https://www.microsoft.com/en-us/download/details.aspx?id=28160



On Tue, May 7, 2013 at 11:46 AM, georg  wrote:

> but isnt there some yum command that will fix things for me (download if
> necessary, but I actually think
> the ODBC would be in the distribution of fedora ?)
>
> br georg
>
> - Original Message - From: "David OBrien" 
> To: "georg" 
> Cc: "PHP General" 
> Sent: Monday, May 06, 2013 11:06 PM
> Subject: Re: [PHP] ODBC
>
>
>
>  On Mon, May 6, 2013 at 3:32 PM, georg  wrote:
>>
>>  Hi,
>>>
>>> Id like to get ODBC connection to SQL from PHP going. Ive done that on
>>> XP,
>>> but now Im switching
>>> to Linux (Fedora).
>>>
>>> My impression in that the connecting part is per the DB designers
>>> responsibility. Im using Mimer-SQL,
>>> but cant find any information on how to set up ODBC for that. Any advice
>>> welcome.
>>>
>>> BR georg
>>>
>>
>>
>> http://developer.mimer.com/**howto/howto_57.htm
>>
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


[PHP] Moving from mysql functions to mysqli or PDO - which is best?

2013-05-18 Thread dealTek
Hi folks,

[post newbie abilities] - I'm attempting to move away from PHP mysql functions 
to something newer, either mysqli or PDO.

I have read various things about them, but I'm curious at this point which 
would be best to learn for the present and future. I'm usually working on small 
to medium size projects.

I understand that PDO has an extra abstraction layer so it can work with / 
convert to other databases like oracle and others fairly easily, but some have 
said that PDO can be a bit slower the MySQLi?

So I would really like to hear opinions on the best choices of either MySQLi or 
PDO.

Also I'm also trying to learn OOP, so I'm looking for a very good working PDO 
and/or mysqli database class - to get started with, that has all the basic 
needs like UPDATE - INSERT - DELETE - QUERY etc. That would be very helpful.

Thanks in advance for your opinions!


--
Thanks,
Dave - DealTek
deal...@gmail.com
[db-3]


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



Re: [PHP] looking for a PDF generator class/library for PHP 5?

2013-05-18 Thread dealTek

Thanks Jose and Ali - I will look into them.

--
Thanks,
Dave - DealTek
deal...@gmail.com
[db-3]



Re: [PHP] Moving from mysql functions to mysqli or PDO - which is best?

2013-05-18 Thread Matijn Woudt
On Sat, May 18, 2013 at 8:09 PM, dealTek  wrote:

> Hi folks,
>
> [post newbie abilities] - I'm attempting to move away from PHP mysql
> functions to something newer, either mysqli or PDO.
>
> I have read various things about them, but I'm curious at this point which
> would be best to learn for the present and future. I'm usually working on
> small to medium size projects.
>
> I understand that PDO has an extra abstraction layer so it can work with /
> convert to other databases like oracle and others fairly easily, but some
> have said that PDO can be a bit slower the MySQLi?
>
> So I would really like to hear opinions on the best choices of either
> MySQLi or PDO.
>
> Also I'm also trying to learn OOP, so I'm looking for a very good working
> PDO and/or mysqli database class - to get started with, that has all the
> basic needs like UPDATE - INSERT - DELETE - QUERY etc. That would be very
> helpful.
>
> Thanks in advance for your opinions!
>
>
Hi,

Probably some people will say PDO, others will say MySQLi, in general it
doesn't really matter, and I think you have named the biggest differences
in your mail.
So if you're going to stick with MySQL anyway, you can take advantage of
the speed with MySQLi.

What class are you looking for?
MySQLi can be used as a class, and PDO is a class too?

- Matijn