> -Original Message-
> From: Jim Lucas [mailto:li...@cmsws.com]
> Sent: Wednesday, November 28, 2012 9:23 PM
> To: ad...@buskirkgraphics.com
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] PDO question
>
> On 11/28/2012 12:58 PM, ad...@buskirkgraphics.com wr
On Wed, Nov 28, 2012 at 9:22 PM, Jim Lucas wrote:
> On 11/28/2012 12:58 PM, ad...@buskirkgraphics.com wrote:
>
>>
>> Guys,
>> I am not quiet sure what is happening but every time i try to connect to a
>> remote host it refers back to localhost.
>>
>> $pdo = new PDO('mysql:host=171.16.23.44;**dbna
On 11/28/2012 12:58 PM, ad...@buskirkgraphics.com wrote:
Guys,
I am not quiet sure what is happening but every time i try to connect to a
remote host it refers back to localhost.
$pdo = new PDO('mysql:host=171.16.23.44;dbname=test', 'user','password');
ERROR: Access denied for user 'user'@'loc
On Sun, Jul 13, 2008 at 11:12 AM, Stephen <[EMAIL PROTECTED]> wrote:
> Bastien Koert wrote:
>
> On Sun, Jul 13, 2008 at 10:30 AM, Stephen <[EMAIL PROTECTED]> <[EMAIL
> PROTECTED]> wrote:
>
>
>
> Kevin Waterson wrote:
>
>
>
> I am switching to PDO and can't find an equivalent to mysql_num_rows.
Bastien Koert wrote:
On Sun, Jul 13, 2008 at 10:30 AM, Stephen <[EMAIL PROTECTED]> wrote:
Kevin Waterson wrote:
I am switching to PDO and can't find an equivalent to mysql_num_rows.
Am I missing something silly?
Or is there a change of thinking needed for PDO?
How should I d
On Sun, Jul 13, 2008 at 10:30 AM, Stephen <[EMAIL PROTECTED]> wrote:
> Kevin Waterson wrote:
>
>> I am switching to PDO and can't find an equivalent to mysql_num_rows.
>>>
>>> Am I missing something silly?
>>>
>>> Or is there a change of thinking needed for PDO?
>>>
>>> How should I determine how
Kevin Waterson wrote:
I am switching to PDO and can't find an equivalent to mysql_num_rows.
Am I missing something silly?
Or is there a change of thinking needed for PDO?
How should I determine how many rows a query returned?
PDO returns an array, sizeof/count will get you home
I wou
This one time, at band camp, Stephen <[EMAIL PROTECTED]> wrote:
> I am switching to PDO and can't find an equivalent to mysql_num_rows.
>
> Am I missing something silly?
>
> Or is there a change of thinking needed for PDO?
>
> How should I determine how many rows a query returned?
PDO returns
8 matches
Mail list logo