Jump to content

Escee

Members
  • Posts

    28
  • Joined

  • Last visited

About Escee

  • Birthday 12/27/1988

Contact Methods

  • Website URL
    http://www.escee.nl/

Profile Information

  • Location
    The Netherlands
  • Interests
    - Webdev<br />- Hiphop<br />- Basketball

Escee's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Escee

    MySQL error

    You've got the WHERE or ORDER clause between quotes: '" . $actionsql . "' Will be: FROM type 'WHERE type_id=3' Must be: FROM type WHERE type_id=3 So remove the quotes (').
  2. Escee

    asp 2 php

    Yeah, sure you can post it, what you thought the purpose of the forum was for?
  3. Escee

    database export

    Yes, can be done.. just open a table and click above in the menu 'export'.
  4. Escee

    Just Curious

    The -> is to access a method in a class. <?php class Example { public function Hi ( $param ) { return $param; } } ?> Then: $example = new Example;echo $example -> Hi ( 'Hee!' );
  5. You can't use PHP for that, but you can make a session which says there was or wasn't a post posted. Before the session expires the browser must be closed first..Something like this: <?php session_start ( ); if ( !isset ( $_SESSION [ 'post' ] ) ) { $_SESSION [ 'post' ] = false; } if ( $_SERVER [ 'REQUEST_METHOD' ] == 'POST' && !$_SESSION [ 'post' ] ) { // Do something $_SESSION [ 'post' ] = true; } else { // Form } ?>
  6. Escee

    Las Vegas Trip

    Yeah Just updated it.. thought I clicked the correct quote button
  7. On a Dutch forum I read something about this.. if you have a database with columns at this order:IdNameWebsiteYou must insert it also at this order like:NameWebsiteAnd not likeWebsiteNameI don't know if you got that right, but maybe that can be your problem. Just check it All through I'm not sure if this is true.. but give it a try
  8. Escee

    Button clicks

    If you don't want to refresh your page like the F5 way.. you can take a look at AJAX (Google some tuts & W3Schools tuts offcourse)
  9. Escee

    sha512

    Sha512 isn't supported by PHP (yet).. just use Md5 (only the easy way comparing with MrAdam's code ): md5 ( 'mypassword/string' );
  10. Escee

    Las Vegas Trip

    Which game(s), or just slots?
  11. Escee

    Fixed background image

    Yes.. but it can be made shorter (as above), so why use this much code?
  12. Escee

    BBCodes

    Well.. you can make BBCode work better when you use preg_replace. 'Cause when I type '[ /b]' with the str_replace method there will be a </b> in the source, or with '[ b]' only a never ending bold tag. preg_replace ('/\[b\](.*?)\[\/b\]/is', '<strong>$1</strong>', $str); When u use this, it'll only replace when there is a [ b]...[/ b] match Edit; @Topicstarter: You could make a function called 'bbcode' with the text as param, and return de text param, only replaced. Something like this: function bbcode ( $text ){ $text = preg_replace ('/\[b\](.*?)\[\/b\]/is', '<strong>$1</strong>', $text); // etc // etc return $text;}
  13. Escee

    Fixed background image

    Nope, doesn't matter (as you could see at the w3 site)
  14. Escee

    Fixed background image

    body { background: url('bg.png') top middle no-repeat fixed; } The middle could be center.. but try this
  15. I think he can implement that himself
×
×
  • Create New...