Search results

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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] =...
  6. garrensilverwing

    scary code to debug

    i wrote this code with some of your help (thanks very, very much!) and i need a bit of help with it, when i enter in any amount of PGN's it works perfectly with one exception, it duplicates the extra game at the end every time which gives me one extra MySQL query which can screw up the entire...
  7. garrensilverwing

    extracting from a string

    to try and speed up the process of adding chess games to my website i would like a piece of code that will search a large string for certain bits of information, so instead of hand typing them into the database every time i could just enter the string and it will do the job for me. here is an...
  8. garrensilverwing

    multiple queries

    there is probably an easier way to do this but what I want to do is, when people search for multiple things it to display results that match everything that they put in this is the code I have so far, there is a lack of tutorials online so everything is just me trying to figure out for the whole...
  9. garrensilverwing

    adding data to a database

    i'm trying to build a database full of information on games that i have on my site the problem i am having is the information is not storing in the database (i get no error messages)... here is my code thanks for the help in advance for gamesdb.php: <?php require "../dbgames_connect.php"...
  10. garrensilverwing

    help with login system

    Now that I got my login system working (thanks a lot garrettroyce) I want people to be able to log in on every page of my website, I went through and added all the code to every page (very tedious) but it only works on the home page. When I try logging into any other page it just refreshes the...
  11. garrensilverwing

    Extentionless URLs

    I searched the forums and could not find any tutorials or information on extentionless URLs if someone can please do a tutorial on it I would be very grateful or link a tutorial (that includes cPanel) that would be just as appreciated.
  12. garrensilverwing

    connecting to DB with php

    Ok I have a new php problem. I read a tutorial on connected to a database with php but I am having some problems. I get this error message when I try to run the script Fatal error: Class 'DB' not found in /home/frostbit/public_html/php/protected/db_connect.php on line 12 idk what is wrong...
  13. garrensilverwing

    php form

    After reading a few tutorials I wanted to give PHP a try. I want to write a php code that will verify the contents of a form submited (http://www.brianwallchess.x10hosting.com/advertise.htm) and then mail them to me at my email address. I do not want the form emailed to me if it is not valid...
  14. garrensilverwing

    site visitors

    i am not exactly sure if this is where i post this but, i am new here, can someone tell me how i can see how many visitors i am getting to my site? i bet there is already a thread about this and if so sorry, but my search was fruitless
  15. garrensilverwing

    font sizes in multiple browsers

    I have some trouble with font sizes in different browsers. It is not a big deal, for the most part, but if I use one font for a large body of text then the slight difference in the sizes between firefox, explorer and safari cause a considerable difference in how much space the text actually...
  16. garrensilverwing

    my site works finally, please review

    through the server downtime i worked a lot on the news and email articles, but i wanted to get some feedback on the overall design and what not :) a few pages are missing (emails home, emails archive, news home, news archive, and books) it works best in IE7, FireFox, or Safari, in IE6 there are...
  17. garrensilverwing

    account suspended, website down, incorrect password

    first, my account is STILL suspended, for no reason, I log into the forums all the time trying to get my site back up and running, secondly, as far as i know my website is still down, thirdly i cannot log into cpanel, it says my password is incorrect when i know it is right, I told it to reset...
  18. garrensilverwing

    account suspension and server down

    im not usually one to complain but my site has been down a lot lately. the server i am on (lotus) goes down, and my account is being suspended even though ive logged into the forums several times i just want to know if it is something i am doing or some kind of error in the system.
  19. garrensilverwing

    finished new design

    im still a rookie but i all but finished my new design, a few email articles havent been updated but i think it is a big improvement, i want as many suggestions as you can give. my next step, if feedback is good, is to add a sign up page. since I am teaching myself how to do everything it might...
  20. garrensilverwing

    Review My Redesigned Website (Looking for Approval)

    I am in the middle of redesigning my website. My very first design (which has already been critiqued) can be found here: http://brianwallchess.x10hosting.com/. The overall design of the website was haphazardly done because I did not know much anything :dunno:. :rant2:<Rant> Since, I have...
Top