in reply to Win2K DBI SQL example sought

Update Oh, I see your other question now. ; ) Well, I see no reason off why you wouldn't be able to have a statement like that.
$dbstmt->execute($newstrID, $oldstrID);
For each ?, just pass execute an argument. Learn more by reading the docs.

Update2 Urp. Thanks to Jenda for pointing out I had the two IDs reversed... ; )

Replies are listed 'Best First'.
Re: Re: Win2K DBI SQL example sought
by Jenda (Abbot) on Jun 24, 2003 at 23:08 UTC

    You have it reversed :-) It's $dbstmt->execute($newstrID, $oldstrID);

    Jenda
    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
       -- Rick Osborne

    Edit by castaway: Closed small tag in signature