Inserting data
I'm trying to insert into a table two fields and keep the rest the same. The rest of the code is fine I think the problem is in the WHERE statement but i can't find a way to fix it.
$insertquery = "INSERT INTO ".$dbCourseSectionoutline." ( Title, FileLocation)
VALUES ('".$QuizName."', 'QuizTaker.php?QuizID=".$QuizID."')
WHERE ObjectID=".$QuizID."";
mysql_query($insertquery) or die('Insert Query failed: ' . mysql_error());
Any help would be appreciated.
Thank You
Subject
Written By
Posted
Inserting data
June 15, 2005 12:22PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.