Jump to content

Archived

This topic is now archived and is closed to further replies.

carmelo

phpmyadmin help!!!

Recommended Posts

I am very new at PHP and I want to code my first registration page, with a database for the users...Do you guys know some tutorials for this stuff something for beginners...im using 'localhost' not a webserver...cause most of the tutorials in here are for webhost users.

Thanks in advance!

Share this post


Link to post
Share on other sites
Thanks for the tutorial but im looking for something small...this is just a school project..i need a userlog-in system that records username and password on a database and let the registered users log-in...

So that would be a:

a) user registration page
b) user login page

Share this post


Link to post
Share on other sites
What exactly is the issue you are having with PHPmyAdmin?  To install it just put it in your local server directory and follow the instructions.  Mostly you just need to give it the right username and password for you local MySQL. 

As for creating a user system that is trivial if you just want something simple and quick.  You'll want to go to php.net and look up the functions...
// mysql stuff
mysql_connect
mysql_query
mysql_fetch_array
// session stuff
session_start
$_SESSION (not a function but an array that is used to store session data)
// data handling stuff
strip_slashes
add_slashes
isset
empty
strlen
$_POST (again not a function but an array that stores post data -- from forms)
$_GET (ditto but this time from URLs generally)
// printing
print
echo
print_r (for debugging mostly)
var_dump (ditto)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.