In order o update fields without using a UPDATE statement you
have to use a cursor. In general, this is how ADO (the technology used by ASP)
performs its updates in the manner you outlined below. There are no
extensions bundled with PHP of which I am aware that allow you to update
data via a
I assume that dbrec is an object. There are many classes you can get
in PHP that handle database management and manipulation. Check out
www.phpclasses.org. I believe everyone's frustration is that the
question was not asked properly, you confused PHP with Linux, you
insulted the OS of choice for
I assume you lack update permissions, which means you probably don't have the
other permissions necessary to change data. Assuming you actually do, you could
use REPLACE or DELETE followed by INSERT.
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From:
Hi
in asp it lets me say
~get a record into dbrec which is a database object.
dbrec['field1'] = 'wow'
dbrec.update;
is there no way to do this in linux?
thats lame if it is then that means my 25 web sites have to be re-written to work on
Linux.
--- Becoming Digital [EMAIL PROTECTED] wrote:
I
attempt to do that, let's see the ASP code
you're trying to convert to PHP.
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From: Steve B. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, 09 June, 2003 22:14
Subject: Re: [PHP-DB] how to update field
in asp it lets me say
~get a record into dbrec which is a database object.
dbrec['field1'] = 'wow'
dbrec.update;
is there no way to do this in linux?
thats lame if it is then that means my 25 web sites have to be
re-written
to work on Linux.
Okay, you're still confused. This has nothing
It sounds like you are crying John.
Perhaps you know this function?
I'm trying to learn PHP holmes.
Keep the insults to yourself and help out if you know the answer.
--- John W. Holmes [EMAIL PROTECTED] wrote:
in asp it lets me say
~get a record into dbrec which is a database object.
/
-Original Message-
From: Steve B. [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 11:08 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] how to update field without using UPDATE query?
you
are kidding?
It sounds like you are crying John.
Perhaps you know this function?
I'm trying