FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » getting amount of deleted rows from: $result=odbc_exec($conn, 'delete from....');
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: getting amount of deleted rows from: $result=odbc_exec($conn, 'delete from....'); [message #169497 is a reply to message #169495] Wed, 15 September 2010 12:50 Go to previous messageGo to previous message
jodleren is currently offline  jodleren
Messages: 7
Registered: September 2010
Karma:
Junior Member
On Sep 15, 3:03 pm, Captain Paralytic <paul_laut...@yahoo.com> wrote:
> On 15 Sep, 10:21, jodleren <sonn...@hot.ee> wrote:
>
>> As the header says:
>
>> $result=odbc_exec($conn, 'delete from....');
>> echo ".... rows deleted";
>
>> I want to know how much I deleted.... probably very simple, but hard
>> to find :)
>
>> Sonnich
>
> Oh it was just SOOOO hard to find.
>
> I had top search google for
> php odbc rows deleted
> and lo and behold a link tohttp://php.net/manual/en/function.odbc-num-rows.php
> as the second site reference with the abstract:
> This function calls SQLRowCount, which according to the ODBC
> Specification returns "the number of rows affected by an UPDATE,
> INSERT, or DELETE statement;
>
> Wow that was so hard I had better go and lay down for a rest.

Not funny.
You know, that as programmer you might know the solution, but with new
language you are lost. You have an idea, but cannot build it yet.
From my previous expireinces, I always get the "rows affected", so
reading it out here like this is new to.
Therefore, if you dont know what to look for, it is pretty hard to
find.

Thanks for the help btw

Sonnich
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Last element in an array?
Next Topic: Removing insignificant decimal characters?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 07:00:19 GMT 2024

Total time taken to generate the page: 0.05322 seconds