Search results

  1. natsuki

    unexpected T_STRING

    lol thnx for the credits!^^
  2. natsuki

    unexpected T_STRING

    $lang ['sys_spy_fleet'] = "Fleet"; there is a space between $lang and ['sys_spy_fleet'], just remove it. if that doesn't solve it then the error comes from before that line
  3. natsuki

    Upload a file

    Why are you returning anyway? Other then that I'm kinda confused with the code, maybe because it was not indented... I'll try to check when I have time$filename = $player1 " .vs " $player2 " on " $map;what does this do?
  4. natsuki

    PHP problem

    I think that is not the file with the problems. it's html.php and the mysql errors spawn from the first error which is what Myokram said. When you fix it, you shouldn't be getting the rest of the errors. headers were already sent meaning you have something already written in the page, either by...
  5. natsuki

    Date/Calendar functions and parameterized queries help needed.

    that's actually normal for database entries, they really need to be escaped (added backslashes) so you'll see I'm becomes I\'m in the database, or else you'll get an SQL syntax error, because ' can terminate a string so you really need to escape it if you get data from GET/POST/COOKIE then it...
  6. natsuki

    php calendar??

    <?php // create recordset of users mysql_select_db($database_freecrm, $freecrm); $query_RS_Users = "SELECT `USERNAME` FROM CONTACTS ORDER BY `USERNAME` ASC"; $RS_Users = mysql_query($query_RS_Users, $freecrm) or die(mysql_error()); $row_RS_Users = mysql_fetch_assoc($RS_Users)...
  7. natsuki

    PHP problem

    I was about to say the same: you should have uploaded the files instead because it's too long to be posted. This is what happens when you mess around something you don't even know... And this script is interesting but it definitely is a lot of code. Know any particular errors generated and in...
  8. natsuki

    Date/Calendar functions and parameterized queries help needed.

    Nope, just the table name and column names should be enclosed in backticks. If you put: <?php....... $stmt = $mysli->prepare('INSERT INTO `blah` (`blah`, ...) VALUES (?, ?, ...);'); if ($mysqli->errno) { die('Prepare statement Failed: ' . $mysqli->error); } $stmt->bind_param('sssssi', $blah...
  9. natsuki

    [PHP]: Having a problem with fwrite()

    you should know the directory and also make sure that the permissions in the said directory allows you to write to it maybe chmod 666 or 777. And also allow_url_fopen should be set so you can open from another location.
  10. natsuki

    [PHP]: Having a problem with fwrite()

    It's probable that the second db connection was to be done on the newly written file, that's why it was in the middle of a <table> the easiest method to deal with complicated strings with lots of quotes is to use the Heredocs syntax and escaping all variables that are not to be parsed now. It is...
  11. natsuki

    Date/Calendar functions and parameterized queries help needed.

    use backticks on every identifier, the table name, columns, etc else you have a problem in your prepare statement that I can't fix because you've obscured the actual words or your table or db or whatever (because it worked for me)
  12. natsuki

    [PHP]: Having a problem with fwrite()

    your $fileData got too complicated, try to echo it first so you know it really contains what you wanted, fwrite() isn't even the problem here you have some problems with your strings there, the best way to do it might be first making the php page with the code, then copypaste it in your code...
  13. natsuki

    Date/Calendar functions and parameterized queries help needed.

    this means the problem is originating from $stmt = $mysqli->prepare(blah); or $stmt = mysqli_prepare(blah); gotta try it first to check EDIT: your bind_params work a treat, I tested it without touching your params you just have either some syntax or table related errors in your prepare...
  14. natsuki

    html rounded borders and IE

    he needed to code the bubble part in javascript else it won't work because of the timer thing. that IE is really annoying that's why I don't use it! It doesn't conform well to w3c standards and there's lotsa bugs.. have you tried using divs all throughout instead of tables? I really dun have...
  15. natsuki

    Date/Calendar functions and parameterized queries help needed.

    Why didn't you ever try to post the part of the code here? How can people help if they don't know where the problem comes from.. it says boolean given means that it probably is returning false, and <this is not an object>->bind_param() is what it's saying... if you want to know if mysqli is...
  16. natsuki

    Student - Use document.getElementById("").innerHTML with if else statement

    follow what xmakina said, it is what i was supposed to say too XD and.. you are redeclaring your vars too much.. like you used var blah; then did var blah = blah; You don't need to add var again after you've already declared it. Just blah = blah; I really don't know what happens if you redeclare...
  17. natsuki

    A Light Weight Javascript calendar for your websites and blogs

    wow oracle you have nifty ajax stuffs on your blog. And the apps are really stylish. About using div instead of table can you give me a link where I can know more about it? I think it's time for me to go on the divs route. Thanks! Your scripts are really awesome.^^
  18. natsuki

    Dreamweaver vs Notepad?

    If you are mostly going to be developing web content, then having a WYSIWYG editor such as Dreamweaver would save you much of your precious time. The tradeoff between the cost of dreamweaver and the time that you save is well dependent on whether you are going to be using dreamweaver for the...
  19. natsuki

    Script Help Please

    Woah I didn't know about this one thanks for the info!
  20. natsuki

    ORDER BY challenge..

    I found out it CAN actually be done using AJAX without refreshing or resending the page. I used the same concept on my test stuffs here: http://kiddragon.co.cc/test/ro I still have to fix a few bugs regarding character set encoding and stuffs though, but it really works. You don't loose your...
Top