-
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.
-
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!