Search results

  1. garrensilverwing

    mysql table if not exists

    well that is the thing, it usually gives me all that information but this time all it says is the table already exists, i went in and played around with it and now it doesnt say anything at all lol...
  2. garrensilverwing

    mysql table if not exists

    all i get where the comments are supposed to be it says "Table 'fishingpolefirstblood' already exists" (this is from brianwallchess.net/news/news/fishing_pole_first_blood.php) its not a php error or even a mysql error that is all it says
  3. garrensilverwing

    mysql table if not exists

    hey mission, im getting a mysql error saying that the table already exists when i go to the page thanks for the $_server['server_name'] tip i didnt know that i tried using the URI scheme way originally but when i called the function up on different pages all the links were broken because it...
  4. garrensilverwing

    mysql table if not exists

    hey guys :) i am trying to write a code with php/mysql that will create a table inside my comments database...however when i run the code the first time i visit the page it creates the table but if i go back to the page it says table already exists when i want it to display the comments left and...
  5. garrensilverwing

    homemade comments feature

    hey mission, thanks for the help, one note: i am just using a test database that i created on my home computer to test out the script and using arbitrary username/passwords, on my real site it is encrypted it is working perfectly now that i took the single quotes out :D
  6. garrensilverwing

    homemade comments feature

    it is like it is skipping over function pagecomments($thread);
  7. garrensilverwing

    homemade comments feature

    $query = resource id #4 here is the code for the page <?php require "php.php"; $thread = "test"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta...
  8. garrensilverwing

    homemade comments feature

    hi guys i hope you missed me :) i am trying to create a comments feature for my website that will allow registered users to leave comments on certain pages, right now i am in the stage of getting everything to show up when a user visits that page. The problem i am having is when i go to the page...
  9. garrensilverwing

    localhost/php/apache

    thanks guys i didnt know about xampp and now i got it working perfectly
  10. garrensilverwing

    localhost/php/apache

    i got sick of uploading all the files i make with php to my site just to test them so i wanted to set up apache php and mysql on my computer so i can just check them by typing localhost into my browser well i installed everything but it seems now that PHP isnt working all i get is an actual...
  11. garrensilverwing

    domain name

    i wasnt being impatient per se lol ;) i just wanted to know if my patience wasnt going to last 2 weeks waiting for it to happen if it wasnt going to all since i skipped a step :D
  12. garrensilverwing

    domain name

    i dont know if this is the right forum to put this in but everyone has been so helpful to me in the past so please: i got a domain name from godaddy.com (brianwallchess.net) and i want to apply it to my website, i set up the nameservers through godaddy.com as ns1.x10hosting.com and...
  13. garrensilverwing

    Plain Template Help

    what your after is not very difficult to program in html/css
  14. garrensilverwing

    more multiple queries

    ok i figured it out, i forgot to define function result() :) i put it as part of another file to be called upon but i didnt require it at the beginning of this one, it works perfectly now :)
  15. garrensilverwing

    more multiple queries

    ok i made your suggested change, when i echo the query and run in in phpmyadmin it works fine :(
  16. garrensilverwing

    more multiple queries

    ok i am back working on my search feature for my games, the problem i am having is i am getting no results back... here is my code: <?php require ('../../../dbgames_connect.php'); $min=600; foreach (str_split('GFEDCBAXM') as $class) { $classmin[$class] = $min; $classmax[$class] =...
  17. garrensilverwing

    Ok, so I'm trying to decided wether to use asp.net or php

    considering some really big websites use asp.net i think its referring to the server running windows although you can get mono to run it on a linux server, a list of websites that use asp.net: myspace, dell.com, match.com, monster.com, costco.com, lego.com, but even bigger websites use php...
  18. garrensilverwing

    scary code to debug

    thanks a lot for pointing out the array_pop function to me, the loop code was just what i thought of while i was at my day job with no computer to check it ;) i added the array_pop() and now it works perfectly so i will just have to work on its effeciency i think i will leave the replacement...
  19. garrensilverwing

    Simple SQL Problem

    im not sure but i dont think you can store functions inside of a sql database and have it run the function, however sql has a built in way to put timestamps in, try this: CREATE TABLE IF NOT EXISTS `test` ( `id` int(11) NOT NULL auto_increment, `modified` timestamp NOT NULL default...
  20. garrensilverwing

    scary code to debug

    the problem is it always puts the last game i load into it twice, not every game just the last game i think when i explode the pgn's it does the last game twice for some reason and then when i run the array it puts it in so im thinking something along the lines of: $last = count($pgn) - 1...
Top