Dan Becker's Game Page
Insert Quick View Review
Purpose: Insert game Quick View Review
selected=\"$selected\"
\n"; // DEBUGecho "
";}// Display or process the form.if ( empty( $gameid ) ) { displayInsertForm();} else { if ( isset( $gameid ) ) { if ( isset( $review ) ) { // Convert apostrophes to // Escape any special characters in the data // e.g. 'Frank\'s Zoo' <= 'Frank's Zoo' $review = str_replace( "'", "\'", $review ); $sql = "INSERT INTO QuickViews ( date, gameid, review ) VALUES ( '$reviewDate', '$gameid', '$review' )"; $sqlResults = sqlQuery( $sql ); } } else { echo "The game was not selected.
\n"; } displayInsertForm();}unset( $gameid );echo "
Proceed toenter more game info.";?>