X-Original-To: pgsql-docs@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C6B3E475458 for ; Sat, 3 May 2003 05:55:05 -0400 (EDT) Received: from netserver.ce.sharif.ac.ir (netserver.ce.sharif.ac.ir [81.31.164.2]) by postgresql.org (Postfix) with ESMTP id 5695F475458 for ; Sat, 3 May 2003 05:54:02 -0400 (EDT) Received: from ce.sharif.ac.ir (ce [81.31.164.3]) by netserver.ce.sharif.ac.ir (8.11.2/8.11.2) with ESMTP id h43D6Qp27947 for ; Sat, 3 May 2003 13:06:26 GMT Received: from ce.sharif.edu (ce.sharif.ac.ir [127.0.0.1]) by ce.sharif.ac.ir (8.11.6/8.11.6) with SMTP id h439xti10110 for ; Sat, 3 May 2003 14:29:58 +0430 From: Dollar $ Received: from 81.31.164.33 (SquirrelMail authenticated user torkian) by ce.sharif.edu with HTTP; Sat, 3 May 2003 14:29:58 +0430 (IRST) Message-ID: <2433.81.31.164.33.1051955998.squirrel@ce.sharif.edu> Date: Sat, 3 May 2003 14:29:58 +0430 (IRST) Subject: replacing a word in a column To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-4.5 required=5.0 tests=BAYES_10,NO_DNS_FOR_FROM version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/1 X-Sequence-Number: 1771 Hello everybody, Sorry if my question is too easy, Can I search after a word in a column and replace it with another word just using queries?? I'm using PHP and MySQL database. e.g: my name is payam --> my name was payam any help? thanks, payam.