Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Dynamic Header (Login)

  1. #11
    Join Date
    Oct 2010
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    I'll check if the solution works when I get back home.

    But, I got another question involving my code.

    I currently have it connecting to a database on phpmyadmin, but everytime I hop onto a new computer I have to re-create the database.

    With the code I have, what is the quickest way to connect and create a database called membership, create a table called users and add values (id, int, auto_increment, primary key) and (password, varchar(45)).

    I've tried to do it several times, but I couldn't get it working. The only way I can think of doing this is to wipe the mysql.php and start again. However, I don't have much time left to complete this website and I would rather find a way to just implement it into my current code.

    Oh and the file that is currently connecting the database is mysql.php.

    Thanks in advance.

  2. #12
    Join Date
    Oct 2010
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Okay I have changed it to 'status' and it works. Thanks!

    Sadly it doesn't work when I have an image as the button, strange. No worries, I can style the link to look like my button.

    With my other question, is there an easy way to create a database, table, values without altering my current code. I've attempted several times already, but I always end up with a blank webpage.

    Cheers!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •