Re: OCI 8 and rowid cause SIGSEGV

From: Date: Sat, 24 Feb 2001 16:43:58 +0000
Subject: Re: OCI 8 and rowid cause SIGSEGV
Groups: php.db 
Request: Send a blank email to php-db+get-6923@lists.php.net to get a copy of this message
On Friday 23 February 2001 17:03, you wrote: > I suppose the authors never concieved a replacement parameter for select > > specification. > > try: > > $sql =3D "select foo, bar, rid from masterdata WHERE rid=3D:rid" > > You need to loose the colon ":" or place it to the right of a where cla > use. Sorry to bother this list again, but I don't get the point... :-( I need the rowid for later updates by a user form. So how can I issue a select clause with 'WHERE rid=3D:rid'? Don't I need this for the *update* clause??? This is what I thought of: 1.) select foo, bar, rid from masterdata 2.) let user select data set to update with 'update.php?rowid=ROWID' 3.) write changes to database: update foo, bar values (FOO, BAR) where rowid=ROWID' And what's about that colon? Is there any special meaning in PHP? I'd highly appreciate your help/answer! Many thanks in advance -- Sven Voigt, Mainz, Germany http://www.ps90.de Tower: "Mission 123, do you have problems?" Pilot: "I think, I have lost my compass." Tower: "Judging the way you are flying, you lost the whole instrument panel!"

« previous php.db (#6923) next »