SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: erors
Hybrid View
-
Feb 25, 2009, 04:01 #1
- 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
-
Feb 25, 2009, 04:14 #2
- 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.
Pawel Decowski (you should follow me on Twitter)
Bookmarks