Re: insert to DB
| From: | John Meyer | Date: | Tue, 27 Dec 2005 02:11:58 +0000 |
| Subject: | Re: insert to DB | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40927@lists.php.net to get a copy of this message | ||
On Monday 26 December 2005 6:40 pm, adriano ghezzi wrote:
> pls could you point out which instruction should insert record in db
> thanks...
>
> 2005/12/18, Anasta <neretlis@westnet.com.au>:
> > $sql = "UPDATE leaderboard SET Name='$Name', Rating='$Rating'
> > WHERE
> > ID=$id";
Um, do you have the option turned on where you can access _POST variables with
just the name of the variable rather than $_POST['varname']?
--
Dr. Joseph Dolan: Isn't there a children's book about an elephant named Babar?
Fletch: I don't know. I don't have any.
Dr. Joseph Dolan: No children?
Fletch: No, elephant books.