Re: Changing data in a table

From: Date: Sat, 18 Nov 2000 05:45:56 +0000
Subject: Re: Changing data in a table
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-4531@lists.php.net to get a copy of this message
Jeff- Read that post I sent and the linked tutorials, they will help you accomplish this. But in short : update.php?username=billy UPDATE atable SET something = 'yes' WHERE username = '$username' This will change billy's something record from whatever to yes. See : http://sqlcourse.com/update.html Check out them tutorials! Here is one of them which is pretty example rich : http://php.vamsi.net/mysql/index.php Have great day, Philip -- be outside the box. On Sat, 18 Nov 2000, Jeof Oyster wrote: > Thanks for the help from "selecting a specific record from..." > > Got another question. Using PHP, how do you change the information that > is in a specific record in a table. Basically, we need to change the > data for a field for a specific record (a username) from No to Yes or > Yes to No. How do you actually change the data that already exists? > > Thanks! > > Jeof Oyster > Top Flight Leadership > > PS- Can you hit Reply to All so that it goes to me and the newsgroup? > Thanks!! > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#4531) next »