Search results

  1. as4s1n

    mySql : Select into file

    'BTW' means 'By The Way'. If it says it already exists, I'm not quite sure what to tell you, you looked through the folder? You could always try the fwrite method I suggested, which writes to a file whether or not it exists, which would probably mean the server thinks it has that but...
  2. as4s1n

    Question about paid plans

    To tell you the truth, I really just need my website to work by friday. My teacher gets pissed if I'm late.
  3. as4s1n

    mySql : Select into file

    Dumping really wasn't my intent, that was just a bonus for formalhaut. @formalhaut: BTW is this like a scheduled backup thing or just an occasional backup you want just in case?
  4. as4s1n

    Question about paid plans

    Ok. Thank you
  5. as4s1n

    Question about paid plans

    If I move up to a paid plan, would there be any way to cancel the plan and move back to free service?
  6. as4s1n

    mySql : Select into file

    It may be out of order: $string = ''; $tableName = 'tableName'; $backupFile = 'backupFile'; try $query =$dbh->query("SELECT * INTO OUTFILE '$backupFile' FROM $tableName"); catch(PDOException $e) print("Error: ".$e->getMessage()."\n"); Also try reading Using PHP to Backup MySQL...
  7. as4s1n

    Javascript SlideShow Application help

    Edit: I forgot to apply the preloading images; apply this just before the img.src = images[i]; section: // ... var image = new Image(); image.src = images[i]; img.src = images[i]; // ... Note: this replaces img.src = images[i]; as well as adds the new code
  8. as4s1n

    PHP script only shows when admin is loggedin

    Waiting for server to come back online to see if your solution worked.
  9. as4s1n

    Javascript SlideShow Application help

    Thank you descalzo. I did notice another error with my script as well. arrays indices start at 0 so I had to change imgArrLen from images.length; to (images.length-1) otherwise it would repeat the last object or show up blank If anyone else wants to use this feel free...
  10. as4s1n

    Javascript SlideShow Application help

    I am working on a slideshow script for my website and for some reason whenever it runs the script works just fine for the first two images I have and then for no reason I can see, prints one extra debug message and stops, not even going to three. Javascript: // Variables var i = -1...
  11. as4s1n

    Ajax XMLHTTPREQUEST

    I already have an index, I learned to make one whenever I made a table. Thank you for the help.
  12. as4s1n

    Ajax XMLHTTPREQUEST

    I have a question about getting the usernames that have already been used. I was wondering which would be faster. (A) Which I used: $username = $_GET['username']; $sth = $dbh->query("SELECT username FROM users WHERE username = '$username'"); if($sth->columncount() === 0) echo "Available"...
  13. as4s1n

    PHP script only shows when admin is loggedin

    I do not understand what you changed.
  14. as4s1n

    PHP script only shows when admin is loggedin

    Nope, it returns the value I want it. But it does not do what I want with the value... Which confuses me
  15. as4s1n

    PHP script only shows when admin is loggedin

    Yes that is in my index page in which I include this page.
  16. as4s1n

    PHP script only shows when admin is loggedin

    When people log into my site up at the top right shows their profile picture, a link to their account and a sign out link (regular user). But whenever people log in the top right is invisible, even on the source. Only the admin and not logged in users (register & log-in) can see it. <?php...
  17. as4s1n

    HTML/Javascript Form Help Please

    That is true but then there would not be any javascript. I suppose the true solution would be to send the form values through a PHP script and send the link if the values were true $name = $_POST['name']; # Value in name field $place = $_POST['place']; # Value in place field $nValue = "value"...
  18. as4s1n

    Ajax XMLHTTPREQUEST

    Hmm, there is a XMLHTTPREQUEST object.statusText property? Thanks, I got it.
  19. as4s1n

    Ajax XMLHTTPREQUEST

    I am trying to make a dynamic registration form that checks the database to see whether the username is taken whenever they keyup(event). I have no idea what is wrong, I have an error message set up in case their browser does not support it but it does not seem to show. Please help Ajax...
Top