php-db | 2000121
Date: 12/12/00
- Next message: Matthew Ballard: "Re: [PHP-DB] Update problems"
- Previous message: Mike Hammonds: "[PHP-DB] PGSQL and pg_shadow"
- Next in thread: Matthew Ballard: "Re: [PHP-DB] Update problems"
- Maybe reply: Matthew Ballard: "Re: [PHP-DB] Update problems"
- Reply: Brinzoi Constantin Aurelian: "Re: [PHP-DB] Update problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am having problems updateing in MySQL
I run this script
$Final_grade=87.8;
$Final="update student set finalGrade='$Final_grade' where
userId='Uname';";
$succes=mysql_query($Final,$link);
echo mysql_error()."<br>";
echo "<p align=\"center\"><font size=\"4\">Final Grade:
$Final_grade</font></p>";
and nothing happens in the data base. I have changed the user's permissons
to allow him to update but when I check the database nothing has changed
Jon
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Matthew Ballard: "Re: [PHP-DB] Update problems"
- Previous message: Mike Hammonds: "[PHP-DB] PGSQL and pg_shadow"
- Next in thread: Matthew Ballard: "Re: [PHP-DB] Update problems"
- Maybe reply: Matthew Ballard: "Re: [PHP-DB] Update problems"
- Reply: Brinzoi Constantin Aurelian: "Re: [PHP-DB] Update problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

