Jump to content

[SOLVED] what do i add next ?


jamesxg1

Recommended Posts

<?php
$id = mysql_real_escape_string($_GET['id']);
$username = mysql_real_escape_string($_GET['username']);
$sql = "SELECT * FROM `comments` WHERE `id`='$id' OR `comto`='$username' LIMIT 1";
$query = mysql_query($sql);



THIS IS WHERE I NEED THE REST OF THE CODE THAT IM STUMMPED ON :S
?>

 

 

thats the code i have what i need it to do next is delete a row out of my database where the id = $id

Link to comment
https://forums.phpfreaks.com/topic/143389-solved-what-do-i-add-next/
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.