Jump to content

[SOLVED] Is this query right?


Dethman

Recommended Posts

It gives me an error "Check SQL Manual for Right Method"

 

<?php
$id  = $_SESSION['game_session'];

$query=("DELETE * FROM `players` WHERE `GameID` = '{$id}`");

$res=mysql_query($query) OR DIE ("ERROR <BR /><BR /><BR />".mysql_query());

if( $res ){
unset($_SESSION['game_session']);
}

?>

 

 

Any Help would be awesome,

 

Brian Flores CEO

NimbusGames,llc

 

 

Link to comment
https://forums.phpfreaks.com/topic/142170-solved-is-this-query-right/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.