Re: Need help with modifying values
| From: | David Hall | Date: | Sun, 18 Dec 2005 16:19:12 +0000 |
| Subject: | Re: Need help with modifying values | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227611@lists.php.net to get a copy of this message | ||
modify_values2.php ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ <?php include("connect.php"); $sql = "Select * from leaderboard "; $result = mysql_query($sql); You'll want to do something like:$id = mysql_real_escape_string($_GET['id']); $sql = "Select * from leaderboard WHERE ID='$id'"; David Hall