Search results

  1. garrensilverwing

    adding data to a database

    $sql = "INSERT into `games`(`wFirst`,`wLast`,`wRating`,`bFirst`,`bLast`,`bRating`,`eco`,`result`,`year`,`link`) VALUES ('$wFirst','$wLast','$wRating','$bFirst','$bLast','$bRating','$eco','$result','$year','$link');"; you're refering to this? i dont know how to explain it but $sql is going to...
  2. 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"...
  3. garrensilverwing

    Extentionless URLs

    i can open it up fine in the cpanel editing thing (i couldnt find it there before because it was a hidding . file) but if i try to open it with a program on my computer like notepad i get an error "the filename, directory name or syntax volume is incorrect" but its ok cause i can open it in the...
  4. garrensilverwing

    help with login system

    <?php session_start(); require "../../db_connect.php"; ?> this is at the beginning of every page and i did them in notepad so there wont be any utf-8 in there Edit: its only happening on the pages that i have renamed index.php so i can have extentionless urls so maybe its something simple...
  5. 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...
  6. garrensilverwing

    PHP Issue

    i think i see your problem at the beginning of your document paths you have a / that ought not be there try removing those slashes and see if that helps body { background: url("images/background2.png"); }
  7. garrensilverwing

    Extentionless URLs

    ok but i dont know how to edit the .htaccess file i tried that but no program that i have displays it so i can read it too many special characters or something
  8. garrensilverwing

    Extentionless URLs

    sorry, titat, i thought i could ask for a tutorial guess not :D, garrettroyce, thanks so much you're so helpful, i would give you more reputation but i have to spread it around a bit lol ok i found the htaccess file but i dont know how to edit it to insert that code :( is there a way to add...
  9. 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.
  10. garrensilverwing

    connecting to DB with php

    oh wow i forgot to add them to that particular database awesome! it works now i can connect to the database :)
  11. garrensilverwing

    connecting to DB with php

    ok so if i put it all in a function say function dbconnect() i would have to do require 'protected/db_connect.php'; dbconnect() on any page that i need to connect to the database right? ok so i made the change and i get these errors now: Warning: mysql_connect()...
  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

    thanks for all the input, once i get the validation thing working i can tweak the form a little. (im kind of using this as a learning experience both for html forms and php i will probably do javascript validation also) i've already received an email from a test form that i filled out so i think...
  14. garrensilverwing

    php form

    well the main reason why i am doing it with php is so i can get some hands-on experience with it because i want to evolve my website into one that uses php for log in and stuff like that anyway -- i put it onto my webserver and it works by showing the text that i put in however it still isnt...
  15. garrensilverwing

    php form

    i added an else at the end but still only get a blank page. I want it to display the error message for whichever if statement comes back false but just a blank page i think i am missing something important
  16. 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...
  17. garrensilverwing

    site visitors

    awesome thanks guys :)
  18. 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
  19. garrensilverwing

    microsoft expression web

    ive never had the pleasure of working with dreamweaver but since im a rookie i find expression web easy to learn from
  20. garrensilverwing

    font sizes in multiple browsers

    any good online tutorials you can suggest?
Top