SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: erors

  1. #1
    SitePoint Guru
    Join Date
    Sep 2007
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    erors

    im using this code and im gettign this error:

    Parse error: parse error in C:\Documents and Settings\Mike\Desktop\xampplite\htdocs\chat\chatharbour\lib\roomuserupdate.php on line 14

    Code:
    <?php
    $username = $_GET['userName'];
    $roomid = $_GET['roomID'];
    $catid = $_GET['catID'];
    
    $request = "INSERT INTO `onlineusers` ( `UserName` , `RoomID` , `CatID`) 
    
    VALUES ( 
    
    '$username', '$roomid', '$catid');";
    
    // execute the query 
    $result = mysql_query($request) or die(mysql_error()); 
    ?>
    Animated Chatrooms - www.121chatrooms.net

  2. #2
    Web Professional
    Join Date
    Oct 2008
    Location
    London
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is this all there is in the file? Because it executes without errors.


Bookmarks

Posting Permissions

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