Jump to content
Larry Ullman's Book Forums

unpredict2ble

Members
  • Posts

    5
  • Joined

  • Last visited

unpredict2ble's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Just wanted to do a quick intro. I have a solid background with HTML & CSS as I learned them prior to moving into PHP/MySQL. I'm a self taught web developer and have a few sites, as well as one in the works under my belt. After finishing HTML & CSS, I decided to go into PHP/MySQL vs Javascript/JQuery, which I'll follow up with. I just cracked this book open and am eager to learn. I actually just finished the book's introduction and am moving into Ch 1: Introduction to PHP. I'll be visiting these forums often on my journey to both ask and answer questions. Particularly ask, as this is a new subject area for me. Thanks for taking the time to read, and I look forward to helping and learning, as well as possibly collaborating with fellow developers. </Unpredict2ble>
  2. I took a look at a few of those sites as well. That massage site or whatever was absolutely hideous. Sony I didn't think was too bad. I felt because it only showed 1 item, the description text could be a bit bigger, but for multiple items on a page, the text would seem fine. Just my 2 cents, as i'm learning. </Unpredict2ble>
  3. Ok i originally had the same issue you are/were when i tried to create a root password first. Even after editing the necessary file to add my password, it still would not connect. What I recommend (cause it worked for me) is to uninstall your xampp. Remove the associated folder as well (c:/xampp). Reinstall the xammp and when you start Apache, MySQL, and Mercury. Then hit the 'ADMIN' button next to MySQL. Once inside PhpMyAdmin, go to 'Priviledges' tab. Create a new user, before you start trying to edit the root password. Once you verify the user account is created and gaining access, you can then change the root password if you so chose. If you're running it on your personal computer, with no one really using it other than you, does it really matter that you don't create a password? Anyways....the following code: <?php mysqli_connect ('localhost', 'webuser', 'BroWsIng', 'temp'); ?> You have to make sure when dealing with databases that the information reflects your database. Using the code posted above, you must have a user account of 'webuser', password must be 'BroWsing', and you must have a database name 'temp'. If not, this statement will not work on your setup. If need be, change the info to what fits your database. Not sure if you fixed your previous problem, but it seems like you continued to move forward. Anyways, this code basically says, try to connect to database (DB_NAME), but if for whatever reason the connection fails, display an error. Visual errors are always nice to see vs a blank page. If the connection is successful, it gets assigned (=) to a variable named $dbc. I'll be continuously checking back to see if you're still having trouble. Goodluck! </Unpredict2ble>
  4. Thx for the warm welcome. I'm wrapping up ch 1 now. So far, great book. </Unpredict2ble>
  5. I just picked up a copy of this book yesterday and am eager to start learning. Just wanted to say hi to everyone else in the community. You'll be hearing from me alot, as i'm eager to learn and help as I go along. My Experience: HTML/CSS Editor: DreamWeaver No real experience with PHP/MySQL Expectations: I basically want to start being able to do some freelance projects when its all said and done. I'm 16yrs military, so this is starting as a hobby, and hopefully turn into more. Thx for reading! </Unpredict2ble>
×
×
  • Create New...