Activity Stream
48,167 MEMBERS
6753 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 7 of 7
  1.     
    #1
    Banned
    Website's:
    WarezRelease.org ThatHosting.co

    Default Why this php code not work?

    PHP Code: 
    <?php

        $siturl 
    $_POST['burl'];
        
    $removee $_POST['doit'];
        
        if (isset(
    $removee)) {
            
    mysql_query("DELETE FROM wcddl_blacklist WHERE url = '.$siteurl.'");
        }
    ?>
    Any1 know why as iv tried n tried but its not working..
    Chris2k Reviewed by Chris2k on . Why this php code not work? <?php $siturl = $_POST; $removee = $_POST; if (isset($removee)) { mysql_query("DELETE FROM wcddl_blacklist WHERE url = '.$siteurl.'"); } ?> Rating: 5

  2.   Sponsored Links

  3.     
    #2
    I r Super Cop
    dont know php but, i see a spelling mistake there siteurl is spelt as siturl
    Follow besthostingforums on FB

    Looking for an Article Writer? Check out my services here.

  4.     
    #3
    Member
    add DB connection to the mysql_query()

  5.     
    #4
    Banned
    Website's:
    WarezRelease.org ThatHosting.co
    Cheers Rox, fixed loool ima dumb fuck

  6.     
    #5
    I r Super Cop
    Follow besthostingforums on FB

    Looking for an Article Writer? Check out my services here.

  7.     
    #6
    Member
    Escape the query

    PHP Code: 
    if (isset($_POST['burl']) && isset($_POST['doit'])) {
     
    $siteurl mysql_real_escape_string($_POST['burl']); 
     
    mysql_query("DELETE FROM wcddl_blacklist WHERE url = '.$siteurl.'"); 
     } 
    ?> 

  8.     
    #7
    Banned
    Website's:
    WarezRelease.org ThatHosting.co
    Thx Gav0

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 14th Oct 2012, 09:44 PM
  2. Replies: 1
    Last Post: 3rd Apr 2012, 09:50 AM
  3. Show your work station/work area
    By Hydrode in forum General Discussion
    Replies: 18
    Last Post: 27th Mar 2011, 10:30 PM
  4. [Hiring] Code my Website layout to work on a MyBB Forum (without the use of iframes)
    By Hydrode in forum Completed Transactions
    Replies: 0
    Last Post: 2nd Mar 2011, 12:38 AM
  5. Does Kloxo Takes Time To Make Domain Work And DNs Work?
    By soft2050 in forum Technical Help Desk Support
    Replies: 12
    Last Post: 15th Oct 2010, 12:01 PM

Tags for this Thread

BE SOCIAL