Results 1 to 26 of 26

Thread: why wont this work?

Threaded View

  1. #1

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919

    why wont this work?

    sorry about all the questions, i'm VERY crappy with mysql.

    PHP Code:
     $mysql_select_db("fragblast",$db);
                    
                    
    $ip=getenv('REMOTE_ADDR');

                    
    $sql "INSERT INTO reviews (id,name,email,gamename,desc,
    system,score,review,ss1,ssd1,ss2,
    ssd2,ss3,ssd3,ip,password) VALUES ('','
    $name',
    '
    $email','$gid',
    '
    $desc','$system',
    '
    $score','$review','$ss1','$ssd1','$ss2','$ssd2',
    '
    $ss3','$ssd3','$ip','$password')";

                    
    $result mysql_query($sql);
                    
                    print 
    'Thank you, your review has been submitted into the database'
    whenever i add something, nothing gets inserted into the table
    it doesnt give any errors. the first field, "id", is auto-increment
    Last edited by nabeels786; Apr 20th, 2002 at 05:38 PM.
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width