Re: [PHP-DB] how to update field without using UPDATE query? youare kidding?

2003-06-10 Thread Robert Twitty
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

RE: [PHP-DB] how to update field without using UPDATE query? you are kidding?

2003-06-10 Thread Mark
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

Re: [PHP-DB] how to update field without using UPDATE query?

2003-06-09 Thread Becoming Digital
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:

Re: [PHP-DB] how to update field without using UPDATE query? you are kidding?

2003-06-09 Thread Steve B.
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

Re: [PHP-DB] how to update field without using UPDATE query? you arekidding?

2003-06-09 Thread Becoming Digital
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

RE: [PHP-DB] how to update field without using UPDATE query? you are kidding?

2003-06-09 Thread John W. Holmes
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

RE: [PHP-DB] how to update field without using UPDATE query? you are kidding?

2003-06-09 Thread Steve B.
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.

RE: [PHP-DB] how to update field without using UPDATE query? you are kidding?

2003-06-09 Thread John W. Holmes
/ -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