Re: [PHP] insert to DB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>:
> >   $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.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux